Fix indentation of code in network_metadata.py
The lines that return the facts in network_metadata are over indented and therefore are skipped in node_network_data is set. This patch corrects the level of indent so that the module works in the case that node_network_data is set. Change-Id: I54e947a19a5ef5fb416fd971052e55c1670f0873 Closes-Bug: #1656334
This commit is contained in:
parent
c7adb13973
commit
8651e26e7e
@ -138,9 +138,9 @@ def main():
|
|||||||
'networks': networks,
|
'networks': networks,
|
||||||
'services': services
|
'services': services
|
||||||
}
|
}
|
||||||
facts = {'network_metadata': network_metadata}
|
facts = {'network_metadata': network_metadata}
|
||||||
|
|
||||||
module.exit_json(changed=False, ansible_facts=facts)
|
module.exit_json(changed=False, ansible_facts=facts)
|
||||||
|
|
||||||
|
|
||||||
# this is magic, see lib/ansible/module_common.py
|
# this is magic, see lib/ansible/module_common.py
|
||||||
|
Loading…
Reference in New Issue
Block a user