Rename fact returned by docker_network to avoid restricted prefix (#23919)

This fixes #23918
This commit is contained in:
Alex Willmer 2017-04-28 14:45:53 +01:00 committed by Matt Martz
parent 3f321e7591
commit 1ac17213ea

View file

@ -358,7 +358,7 @@ class DockerNetworkManager(object):
if not self.check_mode and not self.parameters.debug:
self.results.pop('actions')
self.results['ansible_facts'] = {u'ansible_docker_network': self.get_existing_network()}
self.results['ansible_facts'] = {u'docker_network': self.get_existing_network()}
def absent(self):
self.remove_network()