ansible_facts reflects 1.8 output

reviewable/pr18780/r1
Andrew Davis 10 years ago
parent de4c7f8ba6
commit f38186ce8b

@ -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)

Loading…
Cancel
Save