Blank Error

This commit is contained in:
Yousefnezhad 2025-06-11 11:59:54 +03:30
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']