Merge pull request #1039 from smashwilson/docker-facts
[docker] Record facts containing each changed container.
This commit is contained in:
commit
16ece8f87c
1 changed files with 2 additions and 1 deletions
|
@ -1503,7 +1503,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