From 4f8f0cf66b0d4f14f2706d12a34840b66c862547 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 --- cloud/openstack/os_networks_facts.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cloud/openstack/os_networks_facts.py b/cloud/openstack/os_networks_facts.py index 0cc868b547f..6353498a8ab 100644 --- a/cloud/openstack/os_networks_facts.py +++ b/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