From c6b0656c1c3f211604404735adda5f143a9d29d2 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. --- lib/ansible/modules/cloud/docker/docker.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/ansible/modules/cloud/docker/docker.py b/lib/ansible/modules/cloud/docker/docker.py index 0f172ecddcf..d56a0383d43 100644 --- a/lib/ansible/modules/cloud/docker/docker.py +++ b/lib/ansible/modules/cloud/docker/docker.py @@ -1519,7 +1519,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)