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:
Sam Betts 2017-01-13 15:39:50 +00:00
parent c7adb13973
commit 8651e26e7e

View File

@ -138,9 +138,9 @@ def main():
'networks': networks,
'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