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:
parent
7985682c94
commit
c6b0656c1c
1 changed files with 2 additions and 1 deletions
|
@ -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…
Reference in a new issue