Merge pull request #1039 from smashwilson/docker-facts

[docker] Record facts containing each changed container.
reviewable/pr18780/r1
Toshio Kuratomi 10 years ago
commit 16ece8f87c

@ -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…
Cancel
Save