1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-03-22 05:09:12 +00:00

Blank Error

This commit is contained in:
Yousefnezhad 2025-06-11 11:59:54 +03:30
parent 4004e07cd9
commit 10e12a55d7

View file

@ -59,7 +59,7 @@ from ansible.module_utils.basic import AnsibleModule
import re
def get_exports(module, output_format, file_path="/etc/exports"):
def get_exports(module, output_format, file_path="/etc/exports"):
IP_ENTRY_PATTERN = re.compile(r'(\d+\.\d+\.\d+\.\d+)\(([^)]+)\)')
try:
exports_file_digest = module.digest_from_file(file_path, 'sha1')
@ -130,4 +130,4 @@ def main():
)
if __name__ == '__main__':
main()
__all__ = ['get_exports']
__all__ = ['get_exports']