From 45b067f097c49a5baaf37fe5d7734c9666ca7184 Mon Sep 17 00:00:00 2001 From: Ash Wilson Date: Tue, 31 Mar 2015 16:14:16 -0400 Subject: [PATCH] Record facts for each changed container. --- cloud/docker/docker.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cloud/docker/docker.py b/cloud/docker/docker.py index 7eea7888059..49e11f3caa0 100644 --- a/cloud/docker/docker.py +++ b/cloud/docker/docker.py @@ -1503,7 +1503,8 @@ def main(): msg=manager.get_summary_message(), summary=manager.counters, 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: module.fail_json(changed=manager.has_changed(), msg="Docker API Error: %s" % e.explanation)