From 1ac17213eaf277b8821bc746870949992574c7f3 Mon Sep 17 00:00:00 2001 From: Alex Willmer Date: Fri, 28 Apr 2017 14:45:53 +0100 Subject: [PATCH] Rename fact returned by docker_network to avoid restricted prefix (#23919) This fixes #23918 --- lib/ansible/modules/cloud/docker/docker_network.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/cloud/docker/docker_network.py b/lib/ansible/modules/cloud/docker/docker_network.py index dbffee5ba6..5352a716aa 100644 --- a/lib/ansible/modules/cloud/docker/docker_network.py +++ b/lib/ansible/modules/cloud/docker/docker_network.py @@ -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()