mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-05 21:54:22 -07:00
Blank Error
This commit is contained in:
parent
4004e07cd9
commit
10e12a55d7
1 changed files with 2 additions and 2 deletions
|
@ -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']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue