ansible_facts reflects 1.8 output

This commit is contained in:
Andrew Davis 2015-04-03 12:41:10 -07:00
parent de4c7f8ba6
commit f38186ce8b

View file

@ -1504,7 +1504,7 @@ def main():
summary=manager.counters, summary=manager.counters,
containers=containers.changed, containers=containers.changed,
reload_reasons=manager.get_reload_reason_message(), reload_reasons=manager.get_reload_reason_message(),
ansible_facts=_ansible_facts(containers.changed)) ansible_facts=_ansible_facts(manager.get_inspect_containers(containers.changed)))
except DockerAPIError as e: except DockerAPIError as e:
module.fail_json(changed=manager.has_changed(), msg="Docker API Error: %s" % e.explanation) module.fail_json(changed=manager.has_changed(), msg="Docker API Error: %s" % e.explanation)