From 9bf33e56dd49e9478ba091a1ba12d17b7caeac24 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Fri, 17 Feb 2017 14:49:03 -0600 Subject: [PATCH] Move availability_zone docs to each OpenStack module (#21540) * Move availability_zone docs to each OpenStack module This argument is in the central list for hysterical raisins (mostly me being a doofus) but is used in almost none of them. Document it explicitly in each module to stop the confusion. * Fix two docs formatting bugs --- lib/ansible/modules/cloud/openstack/os_auth.py | 5 +++++ lib/ansible/modules/cloud/openstack/os_flavor_facts.py | 4 ++++ lib/ansible/modules/cloud/openstack/os_floating_ip.py | 4 ++++ lib/ansible/modules/cloud/openstack/os_group.py | 4 ++++ lib/ansible/modules/cloud/openstack/os_image.py | 4 ++++ lib/ansible/modules/cloud/openstack/os_image_facts.py | 4 ++++ lib/ansible/modules/cloud/openstack/os_ironic.py | 4 ++++ lib/ansible/modules/cloud/openstack/os_ironic_inspect.py | 4 ++++ lib/ansible/modules/cloud/openstack/os_ironic_node.py | 4 ++++ lib/ansible/modules/cloud/openstack/os_keypair.py | 4 ++++ lib/ansible/modules/cloud/openstack/os_keystone_domain.py | 4 ++++ .../modules/cloud/openstack/os_keystone_domain_facts.py | 4 ++++ lib/ansible/modules/cloud/openstack/os_keystone_role.py | 4 ++++ lib/ansible/modules/cloud/openstack/os_keystone_service.py | 4 ++++ lib/ansible/modules/cloud/openstack/os_network.py | 4 ++++ lib/ansible/modules/cloud/openstack/os_networks_facts.py | 4 ++++ lib/ansible/modules/cloud/openstack/os_nova_flavor.py | 4 ++++ lib/ansible/modules/cloud/openstack/os_object.py | 4 ++++ lib/ansible/modules/cloud/openstack/os_port.py | 4 ++++ lib/ansible/modules/cloud/openstack/os_port_facts.py | 4 ++++ lib/ansible/modules/cloud/openstack/os_project.py | 4 ++++ lib/ansible/modules/cloud/openstack/os_project_facts.py | 4 ++++ lib/ansible/modules/cloud/openstack/os_quota.py | 4 ++++ lib/ansible/modules/cloud/openstack/os_recordset.py | 4 ++++ lib/ansible/modules/cloud/openstack/os_router.py | 4 ++++ lib/ansible/modules/cloud/openstack/os_security_group.py | 4 ++++ .../modules/cloud/openstack/os_security_group_rule.py | 4 ++++ lib/ansible/modules/cloud/openstack/os_server.py | 4 ++++ lib/ansible/modules/cloud/openstack/os_server_actions.py | 4 ++++ lib/ansible/modules/cloud/openstack/os_server_facts.py | 4 ++++ lib/ansible/modules/cloud/openstack/os_server_group.py | 4 ++++ lib/ansible/modules/cloud/openstack/os_server_volume.py | 4 ++++ lib/ansible/modules/cloud/openstack/os_stack.py | 4 ++++ lib/ansible/modules/cloud/openstack/os_subnet.py | 4 ++++ lib/ansible/modules/cloud/openstack/os_subnets_facts.py | 4 ++++ lib/ansible/modules/cloud/openstack/os_user.py | 4 ++++ lib/ansible/modules/cloud/openstack/os_user_facts.py | 4 ++++ lib/ansible/modules/cloud/openstack/os_user_group.py | 4 ++++ lib/ansible/modules/cloud/openstack/os_user_role.py | 4 ++++ lib/ansible/modules/cloud/openstack/os_volume.py | 4 ++++ lib/ansible/modules/cloud/openstack/os_zone.py | 4 ++++ lib/ansible/utils/module_docs_fragments/openstack.py | 4 ---- 42 files changed, 165 insertions(+), 4 deletions(-) diff --git a/lib/ansible/modules/cloud/openstack/os_auth.py b/lib/ansible/modules/cloud/openstack/os_auth.py index 5c8b68c534c..9e433aba3be 100644 --- a/lib/ansible/modules/cloud/openstack/os_auth.py +++ b/lib/ansible/modules/cloud/openstack/os_auth.py @@ -30,6 +30,11 @@ description: requirements: - "python >= 2.6" - "shade" +options: + availability_zone: + description: + - Ignored. Present for backwards compatability + required: false extends_documentation_fragment: openstack ''' diff --git a/lib/ansible/modules/cloud/openstack/os_flavor_facts.py b/lib/ansible/modules/cloud/openstack/os_flavor_facts.py index 8489eaa5179..79a52b2959c 100644 --- a/lib/ansible/modules/cloud/openstack/os_flavor_facts.py +++ b/lib/ansible/modules/cloud/openstack/os_flavor_facts.py @@ -80,6 +80,10 @@ options: required: false default: false version_added: "2.3" + availability_zone: + description: + - Ignored. Present for backwards compatability + required: false extends_documentation_fragment: openstack ''' diff --git a/lib/ansible/modules/cloud/openstack/os_floating_ip.py b/lib/ansible/modules/cloud/openstack/os_floating_ip.py index c014494db0c..ab169f6722d 100644 --- a/lib/ansible/modules/cloud/openstack/os_floating_ip.py +++ b/lib/ansible/modules/cloud/openstack/os_floating_ip.py @@ -87,6 +87,10 @@ options: required: false default: false version_added: "2.1" + availability_zone: + description: + - Ignored. Present for backwards compatability + required: false requirements: ["shade"] ''' diff --git a/lib/ansible/modules/cloud/openstack/os_group.py b/lib/ansible/modules/cloud/openstack/os_group.py index e864e870547..8cf0bd2cb76 100644 --- a/lib/ansible/modules/cloud/openstack/os_group.py +++ b/lib/ansible/modules/cloud/openstack/os_group.py @@ -43,6 +43,10 @@ options: - Should the resource be present or absent. choices: [present, absent] default: present + availability_zone: + description: + - Ignored. Present for backwards compatability + required: false requirements: - "python >= 2.6" - "shade" diff --git a/lib/ansible/modules/cloud/openstack/os_image.py b/lib/ansible/modules/cloud/openstack/os_image.py index d86181f32a9..479eecf1dc6 100644 --- a/lib/ansible/modules/cloud/openstack/os_image.py +++ b/lib/ansible/modules/cloud/openstack/os_image.py @@ -92,6 +92,10 @@ options: - Should the resource be present or absent. choices: [present, absent] default: present + availability_zone: + description: + - Ignored. Present for backwards compatability + required: false requirements: ["shade"] ''' diff --git a/lib/ansible/modules/cloud/openstack/os_image_facts.py b/lib/ansible/modules/cloud/openstack/os_image_facts.py index 138defba352..67a551e25a2 100644 --- a/lib/ansible/modules/cloud/openstack/os_image_facts.py +++ b/lib/ansible/modules/cloud/openstack/os_image_facts.py @@ -36,6 +36,10 @@ options: description: - Name or ID of the image required: true + availability_zone: + description: + - Ignored. Present for backwards compatability + required: false extends_documentation_fragment: openstack ''' diff --git a/lib/ansible/modules/cloud/openstack/os_ironic.py b/lib/ansible/modules/cloud/openstack/os_ironic.py index 7a6f2fdd4d8..1a7ea485329 100644 --- a/lib/ansible/modules/cloud/openstack/os_ironic.py +++ b/lib/ansible/modules/cloud/openstack/os_ironic.py @@ -118,6 +118,10 @@ options: re-assert the password field. required: false default: false + availability_zone: + description: + - Ignored. Present for backwards compatability + required: false requirements: ["shade", "jsonpatch"] ''' diff --git a/lib/ansible/modules/cloud/openstack/os_ironic_inspect.py b/lib/ansible/modules/cloud/openstack/os_ironic_inspect.py index 630f1bfb1e6..9c439d0d3f5 100644 --- a/lib/ansible/modules/cloud/openstack/os_ironic_inspect.py +++ b/lib/ansible/modules/cloud/openstack/os_ironic_inspect.py @@ -58,6 +58,10 @@ options: - A timeout in seconds to tell the role to wait for the node to complete introspection if wait is set to True. required: false default: 1200 + availability_zone: + description: + - Ignored. Present for backwards compatability + required: false requirements: ["shade"] ''' diff --git a/lib/ansible/modules/cloud/openstack/os_ironic_node.py b/lib/ansible/modules/cloud/openstack/os_ironic_node.py index 6773bdcf291..edf1c1d2124 100644 --- a/lib/ansible/modules/cloud/openstack/os_ironic_node.py +++ b/lib/ansible/modules/cloud/openstack/os_ironic_node.py @@ -106,6 +106,10 @@ options: - An integer value representing the number of seconds to wait for the node activation or deactivation to complete. version_added: "2.1" + availability_zone: + description: + - Ignored. Present for backwards compatability + required: false ''' EXAMPLES = ''' diff --git a/lib/ansible/modules/cloud/openstack/os_keypair.py b/lib/ansible/modules/cloud/openstack/os_keypair.py index ace1e7aba02..3ff0f81aa7a 100644 --- a/lib/ansible/modules/cloud/openstack/os_keypair.py +++ b/lib/ansible/modules/cloud/openstack/os_keypair.py @@ -52,6 +52,10 @@ options: - Should the resource be present or absent. choices: [present, absent] default: present + availability_zone: + description: + - Ignored. Present for backwards compatability + required: false requirements: [] ''' diff --git a/lib/ansible/modules/cloud/openstack/os_keystone_domain.py b/lib/ansible/modules/cloud/openstack/os_keystone_domain.py index aad0a97bf66..c50e386f0fe 100644 --- a/lib/ansible/modules/cloud/openstack/os_keystone_domain.py +++ b/lib/ansible/modules/cloud/openstack/os_keystone_domain.py @@ -48,6 +48,10 @@ options: - Should the resource be present or absent. choices: [present, absent] default: present + availability_zone: + description: + - Ignored. Present for backwards compatability + required: false requirements: - "python >= 2.6" - "shade" diff --git a/lib/ansible/modules/cloud/openstack/os_keystone_domain_facts.py b/lib/ansible/modules/cloud/openstack/os_keystone_domain_facts.py index c52e3abdc12..062c2bc36dc 100644 --- a/lib/ansible/modules/cloud/openstack/os_keystone_domain_facts.py +++ b/lib/ansible/modules/cloud/openstack/os_keystone_domain_facts.py @@ -41,6 +41,10 @@ options: this dictionary may be additional dictionaries. required: false default: None + availability_zone: + description: + - Ignored. Present for backwards compatability + required: false ''' EXAMPLES = ''' diff --git a/lib/ansible/modules/cloud/openstack/os_keystone_role.py b/lib/ansible/modules/cloud/openstack/os_keystone_role.py index 0ab07f16bab..f69f0628e76 100644 --- a/lib/ansible/modules/cloud/openstack/os_keystone_role.py +++ b/lib/ansible/modules/cloud/openstack/os_keystone_role.py @@ -37,6 +37,10 @@ options: - Should the resource be present or absent. choices: [present, absent] default: present + availability_zone: + description: + - Ignored. Present for backwards compatability + required: false requirements: - "python >= 2.6" - "shade" diff --git a/lib/ansible/modules/cloud/openstack/os_keystone_service.py b/lib/ansible/modules/cloud/openstack/os_keystone_service.py index e864a8a81da..cc074d649be 100644 --- a/lib/ansible/modules/cloud/openstack/os_keystone_service.py +++ b/lib/ansible/modules/cloud/openstack/os_keystone_service.py @@ -53,6 +53,10 @@ options: - Should the resource be present or absent. choices: [present, absent] default: present + availability_zone: + description: + - Ignored. Present for backwards compatability + required: false requirements: - "python >= 2.6" - "shade" diff --git a/lib/ansible/modules/cloud/openstack/os_network.py b/lib/ansible/modules/cloud/openstack/os_network.py index 34793e414c8..f5419e61306 100644 --- a/lib/ansible/modules/cloud/openstack/os_network.py +++ b/lib/ansible/modules/cloud/openstack/os_network.py @@ -82,6 +82,10 @@ options: required: false default: None version_added: "2.1" + availability_zone: + description: + - Ignored. Present for backwards compatability + required: false requirements: ["shade"] ''' diff --git a/lib/ansible/modules/cloud/openstack/os_networks_facts.py b/lib/ansible/modules/cloud/openstack/os_networks_facts.py index f813b4f0938..c2226ad7eeb 100644 --- a/lib/ansible/modules/cloud/openstack/os_networks_facts.py +++ b/lib/ansible/modules/cloud/openstack/os_networks_facts.py @@ -40,6 +40,10 @@ options: - A dictionary of meta data to use for further filtering. Elements of this dictionary may be additional dictionaries. required: false + availability_zone: + description: + - Ignored. Present for backwards compatability + required: false extends_documentation_fragment: openstack ''' diff --git a/lib/ansible/modules/cloud/openstack/os_nova_flavor.py b/lib/ansible/modules/cloud/openstack/os_nova_flavor.py index b02c2464831..e07d175605d 100644 --- a/lib/ansible/modules/cloud/openstack/os_nova_flavor.py +++ b/lib/ansible/modules/cloud/openstack/os_nova_flavor.py @@ -82,6 +82,10 @@ options: assigned if a value is not specified. required: false default: "auto" + availability_zone: + description: + - Ignored. Present for backwards compatability + required: false requirements: ["shade"] ''' diff --git a/lib/ansible/modules/cloud/openstack/os_object.py b/lib/ansible/modules/cloud/openstack/os_object.py index 58dc69f3d50..eaea523501e 100644 --- a/lib/ansible/modules/cloud/openstack/os_object.py +++ b/lib/ansible/modules/cloud/openstack/os_object.py @@ -54,6 +54,10 @@ options: - Should the resource be present or absent. choices: [present, absent] default: present + availability_zone: + description: + - Ignored. Present for backwards compatability + required: false ''' EXAMPLES = ''' diff --git a/lib/ansible/modules/cloud/openstack/os_port.py b/lib/ansible/modules/cloud/openstack/os_port.py index 183440f671d..c3b6da0aade 100644 --- a/lib/ansible/modules/cloud/openstack/os_port.py +++ b/lib/ansible/modules/cloud/openstack/os_port.py @@ -101,6 +101,10 @@ options: - Should the resource be present or absent. choices: [present, absent] default: present + availability_zone: + description: + - Ignored. Present for backwards compatability + required: false ''' EXAMPLES = ''' diff --git a/lib/ansible/modules/cloud/openstack/os_port_facts.py b/lib/ansible/modules/cloud/openstack/os_port_facts.py index 9d26ef5f1cc..4e8f91b9eae 100644 --- a/lib/ansible/modules/cloud/openstack/os_port_facts.py +++ b/lib/ansible/modules/cloud/openstack/os_port_facts.py @@ -45,6 +45,10 @@ options: the port dictionary, or strings within nested dictionaries. required: false default: null + availability_zone: + description: + - Ignored. Present for backwards compatability + required: false extends_documentation_fragment: openstack ''' diff --git a/lib/ansible/modules/cloud/openstack/os_project.py b/lib/ansible/modules/cloud/openstack/os_project.py index f58c82698fd..e710380c692 100644 --- a/lib/ansible/modules/cloud/openstack/os_project.py +++ b/lib/ansible/modules/cloud/openstack/os_project.py @@ -58,6 +58,10 @@ options: - Should the resource be present or absent. choices: [present, absent] default: present + availability_zone: + description: + - Ignored. Present for backwards compatability + required: false requirements: - "python >= 2.6" - "shade" diff --git a/lib/ansible/modules/cloud/openstack/os_project_facts.py b/lib/ansible/modules/cloud/openstack/os_project_facts.py index a417bcea962..c01ae8d00e3 100644 --- a/lib/ansible/modules/cloud/openstack/os_project_facts.py +++ b/lib/ansible/modules/cloud/openstack/os_project_facts.py @@ -46,6 +46,10 @@ options: this dictionary may be additional dictionaries. required: false default: None + availability_zone: + description: + - Ignored. Present for backwards compatability + required: false ''' EXAMPLES = ''' diff --git a/lib/ansible/modules/cloud/openstack/os_quota.py b/lib/ansible/modules/cloud/openstack/os_quota.py index 9047d4fed2c..24efb238902 100644 --- a/lib/ansible/modules/cloud/openstack/os_quota.py +++ b/lib/ansible/modules/cloud/openstack/os_quota.py @@ -156,6 +156,10 @@ options: required: False default: None description: Number of LVM volumes to allow. + availability_zone: + description: + - Ignored. Present for backwards compatability + required: false requirements: diff --git a/lib/ansible/modules/cloud/openstack/os_recordset.py b/lib/ansible/modules/cloud/openstack/os_recordset.py index ad183638348..8eb8de79712 100644 --- a/lib/ansible/modules/cloud/openstack/os_recordset.py +++ b/lib/ansible/modules/cloud/openstack/os_recordset.py @@ -61,6 +61,10 @@ options: - Should the resource be present or absent. choices: [present, absent] default: present + availability_zone: + description: + - Ignored. Present for backwards compatability + required: false requirements: - "python >= 2.6" - "shade" diff --git a/lib/ansible/modules/cloud/openstack/os_router.py b/lib/ansible/modules/cloud/openstack/os_router.py index 34da32d7330..6af1f890d1e 100644 --- a/lib/ansible/modules/cloud/openstack/os_router.py +++ b/lib/ansible/modules/cloud/openstack/os_router.py @@ -75,6 +75,10 @@ options: - List of subnets to attach to the router internal interface. required: false default: None + availability_zone: + description: + - Ignored. Present for backwards compatability + required: false requirements: ["shade"] ''' diff --git a/lib/ansible/modules/cloud/openstack/os_security_group.py b/lib/ansible/modules/cloud/openstack/os_security_group.py index a6115445002..4c4de29a1f6 100644 --- a/lib/ansible/modules/cloud/openstack/os_security_group.py +++ b/lib/ansible/modules/cloud/openstack/os_security_group.py @@ -45,6 +45,10 @@ options: - Should the resource be present or absent. choices: [present, absent] default: present + availability_zone: + description: + - Ignored. Present for backwards compatability + required: false ''' EXAMPLES = ''' diff --git a/lib/ansible/modules/cloud/openstack/os_security_group_rule.py b/lib/ansible/modules/cloud/openstack/os_security_group_rule.py index 3b755627502..fb09f75ba29 100644 --- a/lib/ansible/modules/cloud/openstack/os_security_group_rule.py +++ b/lib/ansible/modules/cloud/openstack/os_security_group_rule.py @@ -74,6 +74,10 @@ options: - Should the resource be present or absent. choices: [present, absent] default: present + availability_zone: + description: + - Ignored. Present for backwards compatability + required: false requirements: ["shade"] ''' diff --git a/lib/ansible/modules/cloud/openstack/os_server.py b/lib/ansible/modules/cloud/openstack/os_server.py index 72ea9bbaa98..88bce9728cf 100644 --- a/lib/ansible/modules/cloud/openstack/os_server.py +++ b/lib/ansible/modules/cloud/openstack/os_server.py @@ -192,6 +192,10 @@ options: required: false default: true version_added: "2.2" + availability_zone: + description: + - Availability zone in which to create the server. + required: false requirements: - "python >= 2.6" - "shade" diff --git a/lib/ansible/modules/cloud/openstack/os_server_actions.py b/lib/ansible/modules/cloud/openstack/os_server_actions.py index 6fe0898d153..570a5e36d20 100644 --- a/lib/ansible/modules/cloud/openstack/os_server_actions.py +++ b/lib/ansible/modules/cloud/openstack/os_server_actions.py @@ -59,6 +59,10 @@ options: - Image the server should be rebuilt with default: null version_added: "2.3" + availability_zone: + description: + - Ignored. Present for backwards compatability + required: false requirements: - "python >= 2.6" - "shade" diff --git a/lib/ansible/modules/cloud/openstack/os_server_facts.py b/lib/ansible/modules/cloud/openstack/os_server_facts.py index efb6fd8327a..460b233914b 100644 --- a/lib/ansible/modules/cloud/openstack/os_server_facts.py +++ b/lib/ansible/modules/cloud/openstack/os_server_facts.py @@ -45,6 +45,10 @@ options: of additional API calls. required: false default: false + availability_zone: + description: + - Ignored. Present for backwards compatability + required: false extends_documentation_fragment: openstack ''' diff --git a/lib/ansible/modules/cloud/openstack/os_server_group.py b/lib/ansible/modules/cloud/openstack/os_server_group.py index d67e69aa37a..e698a788eaa 100644 --- a/lib/ansible/modules/cloud/openstack/os_server_group.py +++ b/lib/ansible/modules/cloud/openstack/os_server_group.py @@ -47,6 +47,10 @@ options: valid policy names are anti-affinity, affinity, soft-anti-affinity and soft-affinity. required: false + availability_zone: + description: + - Ignored. Present for backwards compatability + required: false requirements: - "python >= 2.6" - "shade" diff --git a/lib/ansible/modules/cloud/openstack/os_server_volume.py b/lib/ansible/modules/cloud/openstack/os_server_volume.py index 369c727c8e0..eb4406d9152 100644 --- a/lib/ansible/modules/cloud/openstack/os_server_volume.py +++ b/lib/ansible/modules/cloud/openstack/os_server_volume.py @@ -49,6 +49,10 @@ options: - Device you want to attach. Defaults to auto finding a device name. required: false default: None + availability_zone: + description: + - Ignored. Present for backwards compatability + required: false requirements: - "python >= 2.6" - "shade" diff --git a/lib/ansible/modules/cloud/openstack/os_stack.py b/lib/ansible/modules/cloud/openstack/os_stack.py index 907f4725e54..d6fbd9ca8f2 100644 --- a/lib/ansible/modules/cloud/openstack/os_stack.py +++ b/lib/ansible/modules/cloud/openstack/os_stack.py @@ -66,6 +66,10 @@ options: - Maximum number of seconds to wait for the stack creation required: false default: 3600 + availability_zone: + description: + - Ignored. Present for backwards compatability + required: false requirements: - "python >= 2.6" - "shade" diff --git a/lib/ansible/modules/cloud/openstack/os_subnet.py b/lib/ansible/modules/cloud/openstack/os_subnet.py index 8c5d396934d..caa034c630e 100644 --- a/lib/ansible/modules/cloud/openstack/os_subnet.py +++ b/lib/ansible/modules/cloud/openstack/os_subnet.py @@ -114,6 +114,10 @@ options: required: false default: None version_added: "2.1" + availability_zone: + description: + - Ignored. Present for backwards compatability + required: false requirements: - "python >= 2.6" - "shade" diff --git a/lib/ansible/modules/cloud/openstack/os_subnets_facts.py b/lib/ansible/modules/cloud/openstack/os_subnets_facts.py index 824ef8647b0..7f28bad213b 100644 --- a/lib/ansible/modules/cloud/openstack/os_subnets_facts.py +++ b/lib/ansible/modules/cloud/openstack/os_subnets_facts.py @@ -40,6 +40,10 @@ options: - A dictionary of meta data to use for further filtering. Elements of this dictionary may be additional dictionaries. required: false + availability_zone: + description: + - Ignored. Present for backwards compatability + required: false extends_documentation_fragment: openstack ''' diff --git a/lib/ansible/modules/cloud/openstack/os_user.py b/lib/ansible/modules/cloud/openstack/os_user.py index 5d81b59542b..11cdabc5315 100644 --- a/lib/ansible/modules/cloud/openstack/os_user.py +++ b/lib/ansible/modules/cloud/openstack/os_user.py @@ -73,6 +73,10 @@ options: - Should the resource be present or absent. choices: [present, absent] default: present + availability_zone: + description: + - Ignored. Present for backwards compatability + required: false requirements: - "python >= 2.6" - "shade" diff --git a/lib/ansible/modules/cloud/openstack/os_user_facts.py b/lib/ansible/modules/cloud/openstack/os_user_facts.py index 6d9d145bf97..887843d54a1 100644 --- a/lib/ansible/modules/cloud/openstack/os_user_facts.py +++ b/lib/ansible/modules/cloud/openstack/os_user_facts.py @@ -46,6 +46,10 @@ options: this dictionary may be additional dictionaries. required: false default: None + availability_zone: + description: + - Ignored. Present for backwards compatability + required: false ''' EXAMPLES = ''' diff --git a/lib/ansible/modules/cloud/openstack/os_user_group.py b/lib/ansible/modules/cloud/openstack/os_user_group.py index 8f4c47ed8f0..1d4837d2d4b 100644 --- a/lib/ansible/modules/cloud/openstack/os_user_group.py +++ b/lib/ansible/modules/cloud/openstack/os_user_group.py @@ -41,6 +41,10 @@ options: - Should the user be present or absent in the group choices: [present, absent] default: present + availability_zone: + description: + - Ignored. Present for backwards compatability + required: false requirements: - "python >= 2.6" - "shade" diff --git a/lib/ansible/modules/cloud/openstack/os_user_role.py b/lib/ansible/modules/cloud/openstack/os_user_role.py index 132ae88e184..99b6696b349 100644 --- a/lib/ansible/modules/cloud/openstack/os_user_role.py +++ b/lib/ansible/modules/cloud/openstack/os_user_role.py @@ -63,6 +63,10 @@ options: - Should the roles be present or absent on the user. choices: [present, absent] default: present + availability_zone: + description: + - Ignored. Present for backwards compatability + required: false requirements: - "python >= 2.6" - "shade" diff --git a/lib/ansible/modules/cloud/openstack/os_volume.py b/lib/ansible/modules/cloud/openstack/os_volume.py index 778b050ec99..06490957bbb 100644 --- a/lib/ansible/modules/cloud/openstack/os_volume.py +++ b/lib/ansible/modules/cloud/openstack/os_volume.py @@ -70,6 +70,10 @@ options: - Should the resource be present or absent. choices: [present, absent] default: present + availability_zone: + description: + - Ignored. Present for backwards compatability + required: false requirements: - "python >= 2.6" - "shade" diff --git a/lib/ansible/modules/cloud/openstack/os_zone.py b/lib/ansible/modules/cloud/openstack/os_zone.py index c4d063d8854..caa0fca4e99 100644 --- a/lib/ansible/modules/cloud/openstack/os_zone.py +++ b/lib/ansible/modules/cloud/openstack/os_zone.py @@ -63,6 +63,10 @@ options: - Should the resource be present or absent. choices: [present, absent] default: present + availability_zone: + description: + - Ignored. Present for backwards compatability + required: false requirements: - "python >= 2.6" - "shade" diff --git a/lib/ansible/utils/module_docs_fragments/openstack.py b/lib/ansible/utils/module_docs_fragments/openstack.py index 0095d3d1fd2..88aaad1799e 100644 --- a/lib/ansible/utils/module_docs_fragments/openstack.py +++ b/lib/ansible/utils/module_docs_fragments/openstack.py @@ -48,10 +48,6 @@ options: description: - Name of the region. required: false - availability_zone: - description: - - Name of the availability zone. - required: false wait: description: - Should ansible wait until the requested resource is complete.