mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-09 15:44:20 -07:00
Blanks
This commit is contained in:
parent
d448a63879
commit
8d357942f9
1 changed files with 6 additions and 4 deletions
|
@ -132,11 +132,13 @@ def get_exports(module, output_format, file_path="/etc/exports"):
|
||||||
|
|
||||||
return {
|
return {
|
||||||
'exports_info': exports,
|
'exports_info': exports,
|
||||||
'file_digest': file_digests # <--- Returning the dictionary of hashes
|
'file_digest': file_digests
|
||||||
}
|
}
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
module.fail_json(msg="Error while processing exports: {}".format(e))
|
module.fail_json(msg="Error while processing exports: {}".format(e))
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = AnsibleModule(
|
module = AnsibleModule(
|
||||||
argument_spec=dict(
|
argument_spec=dict(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue