From 9632b47a85404497527ff43b7239c582cb80d6e3 Mon Sep 17 00:00:00 2001 From: Graham Goldstein Date: Wed, 22 Jun 2016 06:52:00 +0100 Subject: [PATCH] Change documented options for os_networks_facts (#3970) * Change documented options for os_networks_facts os_network_facts currently lists 'network' as an available option, taking the Name or ID. In Ansible 2.0.2 to 2.2.0, this is not valid. Options 'name' and 'id' should be used instead. * Update os_networks_facts.py * Update os_networks_facts.py Set version_added to the only accepted value * Update os_networks_facts.py Removed inappropriate 'ID' parameter --- lib/ansible/modules/cloud/openstack/os_networks_facts.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/ansible/modules/cloud/openstack/os_networks_facts.py b/lib/ansible/modules/cloud/openstack/os_networks_facts.py index 0cc868b547..6353498a8a 100644 --- a/lib/ansible/modules/cloud/openstack/os_networks_facts.py +++ b/lib/ansible/modules/cloud/openstack/os_networks_facts.py @@ -33,10 +33,11 @@ requirements: - "python >= 2.6" - "shade" options: - network: + name: description: - Name or ID of the Network required: false + version_added: "2.2" filters: description: - A dictionary of meta data to use for further filtering. Elements of