Merge pull request #1039 from smashwilson/docker-facts

[docker] Record facts containing each changed container.
This commit is contained in:
Toshio Kuratomi 2015-04-01 10:23:30 -07:00
commit 16ece8f87c

View file

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