1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Record facts for each changed container.

This commit is contained in:
Ash Wilson 2015-03-31 16:14:16 -04:00 committed by Matt Clay
parent 7985682c94
commit c6b0656c1c

View file

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