Record facts for each changed container.

pull/18777/head
Ash Wilson 10 years ago committed by Matt Clay
parent 7985682c94
commit c6b0656c1c

@ -1519,7 +1519,8 @@ def main():
msg=manager.get_summary_message(), msg=manager.get_summary_message(),
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))
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