Move default availability_zone docs into doc_fragment

If availability_zone is defined in the module this will override the fragment

Change-Id: I4f6abcbfee89a53480134dc64ca06782c8e6d094
This commit is contained in:
Mark Chappell 2020-03-16 10:28:28 +01:00
parent 8e64c96e48
commit 400e9c4873
50 changed files with 5 additions and 160 deletions

View File

@ -85,6 +85,10 @@ options:
choices: [ admin, internal, public ] choices: [ admin, internal, public ]
default: public default: public
aliases: [ endpoint_type ] aliases: [ endpoint_type ]
availability_zone:
description:
- Ignored. Present for backwards compatibility
type: str
requirements: requirements:
- python >= 3.6 - python >= 3.6
- openstacksdk >= 0.12.0 - openstacksdk >= 0.12.0

View File

@ -19,11 +19,6 @@ description:
requirements: requirements:
- "python >= 3.6"" - "python >= 3.6""
- "openstacksdk" - "openstacksdk"
options:
availability_zone:
description:
- Ignored. Present for backwards compatibility
required: false
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack

View File

@ -17,9 +17,6 @@ author: "Feilong Wang (@flwang)"
description: description:
- Add or Remove COE cluster from the OpenStack Container Infra service. - Add or Remove COE cluster from the OpenStack Container Infra service.
options: options:
availability_zone:
description:
- Ignored. Present for backwards compatibility
cluster_template_id: cluster_template_id:
description: description:
- The template ID of cluster template. - The template ID of cluster template.

View File

@ -18,9 +18,6 @@ description:
- Add or Remove COE cluster template from the OpenStack Container Infra - Add or Remove COE cluster template from the OpenStack Container Infra
service. service.
options: options:
availability_zone:
description:
- Ignored. Present for backwards compatibility
coe: coe:
description: description:
- The Container Orchestration Engine for this clustertemplate - The Container Orchestration Engine for this clustertemplate

View File

@ -64,9 +64,6 @@ options:
storage. Format is the same as the I(ram) parameter storage. Format is the same as the I(ram) parameter
type: bool type: bool
default: 'no' default: 'no'
availability_zone:
description:
- Ignored. Present for backwards compatibility
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack

View File

@ -69,9 +69,6 @@ options:
IP completely, or only detach it from the server. Default is to detach only. IP completely, or only detach it from the server. Default is to detach only.
type: bool type: bool
default: 'no' default: 'no'
availability_zone:
description:
- Ignored. Present for backwards compatibility
requirements: ["openstacksdk"] requirements: ["openstacksdk"]
extends_documentation_fragment: extends_documentation_fragment:

View File

@ -32,9 +32,6 @@ options:
- Should the resource be present or absent. - Should the resource be present or absent.
choices: [present, absent] choices: [present, absent]
default: present default: present
availability_zone:
description:
- Ignored. Present for backwards compatibility
requirements: requirements:
- "python >= 3.6"" - "python >= 3.6""
- "openstacksdk" - "openstacksdk"

View File

@ -34,10 +34,6 @@ options:
- A dictionary of meta data to use for further filtering. Elements of - A dictionary of meta data to use for further filtering. Elements of
this dictionary may be additional dictionaries. this dictionary may be additional dictionaries.
type: dict type: dict
availability_zone:
description:
- Ignored. Present for backwards compatibility
type: str
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack

View File

@ -75,9 +75,6 @@ options:
- Should the resource be present or absent. - Should the resource be present or absent.
choices: [present, absent] choices: [present, absent]
default: present default: present
availability_zone:
description:
- Ignored. Present for backwards compatibility
volume: volume:
description: description:
- ID of a volume to create an image from. - ID of a volume to create an image from.

View File

@ -30,10 +30,6 @@ options:
- Dict of properties of the images used for query - Dict of properties of the images used for query
type: dict type: dict
required: false required: false
availability_zone:
description:
- Ignored. Present for backwards compatibility
required: false
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack

View File

@ -112,10 +112,6 @@ options:
type: bool type: bool
default: 'no' default: 'no'
aliases: [ skip_update_of_driver_password ] aliases: [ skip_update_of_driver_password ]
availability_zone:
description:
- Ignored. Present for backwards compatibility
requirements: ["openstacksdk", "jsonpatch"] requirements: ["openstacksdk", "jsonpatch"]
extends_documentation_fragment: extends_documentation_fragment:

View File

@ -37,9 +37,6 @@ options:
description: description:
- A timeout in seconds to tell the role to wait for the node to complete introspection if wait is set to True. - A timeout in seconds to tell the role to wait for the node to complete introspection if wait is set to True.
default: 1200 default: 1200
availability_zone:
description:
- Ignored. Present for backwards compatibility
requirements: ["openstacksdk"] requirements: ["openstacksdk"]

View File

@ -84,9 +84,6 @@ options:
description: description:
- An integer value representing the number of seconds to - An integer value representing the number of seconds to
wait for the node activation or deactivation to complete. wait for the node activation or deactivation to complete.
availability_zone:
description:
- Ignored. Present for backwards compatibility
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack

View File

@ -38,9 +38,6 @@ options:
with the new content. with the new content.
choices: [present, absent, replace] choices: [present, absent, replace]
default: present default: present
availability_zone:
description:
- Ignored. Present for backwards compatibility
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack

View File

@ -37,9 +37,6 @@ options:
- Should the resource be present or absent. - Should the resource be present or absent.
choices: [present, absent] choices: [present, absent]
default: present default: present
availability_zone:
description:
- Ignored. Present for backwards compatibility
requirements: requirements:
- "python >= 3.6"" - "python >= 3.6""
- "openstacksdk" - "openstacksdk"

View File

@ -28,9 +28,6 @@ options:
description: description:
- A dictionary of meta data to use for further filtering. Elements of - A dictionary of meta data to use for further filtering. Elements of
this dictionary may be additional dictionaries. this dictionary may be additional dictionaries.
availability_zone:
description:
- Ignored. Present for backwards compatibility
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack

View File

@ -27,10 +27,6 @@ options:
- Should the resource be present or absent. - Should the resource be present or absent.
choices: [present, absent] choices: [present, absent]
default: present default: present
availability_zone:
description:
- Ignored. Present for backwards compatibility
required: false
requirements: requirements:
- "python >= 3.6"" - "python >= 3.6""
- "openstacksdk" - "openstacksdk"

View File

@ -39,9 +39,6 @@ options:
- Should the resource be present or absent. - Should the resource be present or absent.
choices: [present, absent] choices: [present, absent]
default: present default: present
availability_zone:
description:
- Ignored. Present for backwards compatibility
requirements: requirements:
- "python >= 3.6"" - "python >= 3.6""
- "openstacksdk" - "openstacksdk"

View File

@ -48,9 +48,6 @@ options:
- The amount of time the module should wait for the load balancer to get - The amount of time the module should wait for the load balancer to get
into ACTIVE state. into ACTIVE state.
default: 180 default: 180
availability_zone:
description:
- Ignored. Present for backwards compatibility
requirements: ["openstacksdk"] requirements: ["openstacksdk"]
extends_documentation_fragment: extends_documentation_fragment:

View File

@ -119,9 +119,6 @@ options:
description: description:
- The amount of time the module should wait. - The amount of time the module should wait.
default: 180 default: 180
availability_zone:
description:
- Ignored. Present for backwards compatibility
requirements: ["openstacksdk"] requirements: ["openstacksdk"]
extends_documentation_fragment: extends_documentation_fragment:

View File

@ -49,9 +49,6 @@ options:
- The amount of time the module should wait for the load balancer to get - The amount of time the module should wait for the load balancer to get
into ACTIVE state. into ACTIVE state.
default: 180 default: 180
availability_zone:
description:
- Ignored. Present for backwards compatibility
requirements: ["openstacksdk"] requirements: ["openstacksdk"]
extends_documentation_fragment: extends_documentation_fragment:

View File

@ -57,9 +57,6 @@ options:
project: project:
description: description:
- Project name or ID containing the network (name admin-only) - Project name or ID containing the network (name admin-only)
availability_zone:
description:
- Ignored. Present for backwards compatibility
port_security_enabled: port_security_enabled:
description: description:
- Whether port security is enabled on the network or not. - Whether port security is enabled on the network or not.

View File

@ -31,10 +31,6 @@ options:
- A dictionary of meta data to use for further filtering. Elements of - A dictionary of meta data to use for further filtering. Elements of
this dictionary may be additional dictionaries. this dictionary may be additional dictionaries.
required: false required: false
availability_zone:
description:
- Ignored. Present for backwards compatibility
required: false
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack

View File

@ -61,9 +61,6 @@ options:
- ID for the flavor. This is optional as a unique UUID will be - ID for the flavor. This is optional as a unique UUID will be
assigned if a value is not specified. assigned if a value is not specified.
default: "auto" default: "auto"
availability_zone:
description:
- Ignored. Present for backwards compatibility
extra_specs: extra_specs:
description: description:
- Metadata dictionary - Metadata dictionary

View File

@ -42,10 +42,6 @@ options:
- Should the resource be present or absent. - Should the resource be present or absent.
choices: [present, absent] choices: [present, absent]
default: present default: present
availability_zone:
description:
- Ignored. Present for backwards compatibility
required: false
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack

View File

@ -53,9 +53,6 @@ options:
- The amount of time the module should wait for the pool to get - The amount of time the module should wait for the pool to get
into ACTIVE state. into ACTIVE state.
default: 180 default: 180
availability_zone:
description:
- Ignored. Present for backwards compatibility
requirements: ["openstacksdk"] requirements: ["openstacksdk"]
extends_documentation_fragment: extends_documentation_fragment:

View File

@ -77,9 +77,6 @@ options:
- Should the resource be present or absent. - Should the resource be present or absent.
choices: [present, absent] choices: [present, absent]
default: present default: present
availability_zone:
description:
- Ignored. Present for backwards compatibility
vnic_type: vnic_type:
description: description:
- The type of the port that should be created - The type of the port that should be created

View File

@ -30,9 +30,6 @@ options:
of this dictionary will be matched against the returned port of this dictionary will be matched against the returned port
dictionaries. Matching is currently limited to strings within dictionaries. Matching is currently limited to strings within
the port dictionary, or strings within nested dictionaries. the port dictionary, or strings within nested dictionaries.
availability_zone:
description:
- Ignored. Present for backwards compatibility
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack

View File

@ -41,9 +41,6 @@ options:
- Should the resource be present or absent. - Should the resource be present or absent.
choices: [present, absent] choices: [present, absent]
default: present default: present
availability_zone:
description:
- Ignored. Present for backwards compatibility
requirements: requirements:
- "python >= 3.6"" - "python >= 3.6""
- "openstacksdk" - "openstacksdk"

View File

@ -42,9 +42,6 @@ options:
resource_name: resource_name:
description: description:
- The resource name (eg. tiny). - The resource name (eg. tiny).
availability_zone:
description:
- The availability zone of the resource.
requirements: requirements:
- "openstacksdk" - "openstacksdk"

View File

@ -32,9 +32,6 @@ options:
description: description:
- A dictionary of meta data to use for further filtering. Elements of - A dictionary of meta data to use for further filtering. Elements of
this dictionary may be additional dictionaries. this dictionary may be additional dictionaries.
availability_zone:
description:
- Ignored. Present for backwards compatibility
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack

View File

@ -92,10 +92,6 @@ options:
description: Number of volumes to allow. description: Number of volumes to allow.
volumes_lvm: volumes_lvm:
description: Number of LVM volumes to allow. description: Number of LVM volumes to allow.
availability_zone:
description:
- Ignored. Present for backwards compatibility
requirements: requirements:
- "python >= 3.6"" - "python >= 3.6""

View File

@ -45,9 +45,6 @@ options:
- Should the resource be present or absent. - Should the resource be present or absent.
choices: [present, absent] choices: [present, absent]
default: present default: present
availability_zone:
description:
- Ignored. Present for backwards compatibility
requirements: requirements:
- "python >= 3.6"" - "python >= 3.6""
- "openstacksdk" - "openstacksdk"

View File

@ -62,9 +62,6 @@ options:
User defined portip is often required when a multiple router need User defined portip is often required when a multiple router need
to be connected to a single subnet for which the default gateway has to be connected to a single subnet for which the default gateway has
been already used. been already used.
availability_zone:
description:
- Ignored. Present for backwards compatibility
requirements: ["openstacksdk"] requirements: ["openstacksdk"]
extends_documentation_fragment: extends_documentation_fragment:

View File

@ -35,9 +35,6 @@ options:
description: description:
- Unique name or ID of the project. - Unique name or ID of the project.
required: false required: false
availability_zone:
description:
- Ignored. Present for backwards compatibility
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack

View File

@ -62,9 +62,6 @@ options:
description: description:
- Unique name or ID of the project. - Unique name or ID of the project.
required: false required: false
availability_zone:
description:
- Ignored. Present for backwards compatibility
requirements: ["openstacksdk"] requirements: ["openstacksdk"]
extends_documentation_fragment: extends_documentation_fragment:

View File

@ -44,9 +44,6 @@ options:
image: image:
description: description:
- Image the server should be rebuilt with - Image the server should be rebuilt with
availability_zone:
description:
- Ignored. Present for backwards compatibility
requirements: requirements:
- "python >= 3.6"" - "python >= 3.6""
- "openstacksdk" - "openstacksdk"

View File

@ -35,10 +35,6 @@ options:
valid policy names are anti-affinity, affinity, soft-anti-affinity valid policy names are anti-affinity, affinity, soft-anti-affinity
and soft-affinity. and soft-affinity.
required: false required: false
availability_zone:
description:
- Ignored. Present for backwards compatibility
required: false
requirements: requirements:
- "python >= 3.6"" - "python >= 3.6""
- "openstacksdk" - "openstacksdk"

View File

@ -38,9 +38,6 @@ options:
description: description:
- restrict results to servers matching a dictionary of - restrict results to servers matching a dictionary of
filters filters
availability_zone:
description:
- Ignored. Present for backwards compatibility
all_projects: all_projects:
description: description:
- Whether to list servers from all projects or just the current auth - Whether to list servers from all projects or just the current auth

View File

@ -35,9 +35,6 @@ options:
device: device:
description: description:
- Device you want to attach. Defaults to auto finding a device name. - Device you want to attach. Defaults to auto finding a device name.
availability_zone:
description:
- Ignored. Present for backwards compatibility
requirements: requirements:
- "python >= 3.6"" - "python >= 3.6""
- "openstacksdk" - "openstacksdk"

View File

@ -51,9 +51,6 @@ options:
description: description:
- Maximum number of seconds to wait for the stack creation - Maximum number of seconds to wait for the stack creation
default: 3600 default: 3600
availability_zone:
description:
- Ignored. Present for backwards compatibility
requirements: requirements:
- "python >= 3.6"" - "python >= 3.6""
- "openstacksdk" - "openstacksdk"

View File

@ -85,9 +85,6 @@ options:
project: project:
description: description:
- Project name or ID containing the subnet (name admin-only) - Project name or ID containing the subnet (name admin-only)
availability_zone:
description:
- Ignored. Present for backwards compatibility
extra_specs: extra_specs:
description: description:
- Dictionary with extra key/value pairs passed to the API - Dictionary with extra key/value pairs passed to the API

View File

@ -33,10 +33,6 @@ options:
- A dictionary of meta data to use for further filtering. Elements of - A dictionary of meta data to use for further filtering. Elements of
this dictionary may be additional dictionaries. this dictionary may be additional dictionaries.
required: false required: false
availability_zone:
description:
- Ignored. Present for backwards compatibility
required: false
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack

View File

@ -55,9 +55,6 @@ options:
- Should the resource be present or absent. - Should the resource be present or absent.
choices: [present, absent] choices: [present, absent]
default: present default: present
availability_zone:
description:
- Ignored. Present for backwards compatibility
requirements: requirements:
- "python >= 3.6"" - "python >= 3.6""
- "openstacksdk" - "openstacksdk"

View File

@ -29,10 +29,6 @@ options:
- Should the user be present or absent in the group - Should the user be present or absent in the group
choices: [present, absent] choices: [present, absent]
default: present default: present
availability_zone:
description:
- Ignored. Present for backwards compatibility
required: false
requirements: requirements:
- "python >= 3.6"" - "python >= 3.6""
- "openstacksdk" - "openstacksdk"

View File

@ -32,9 +32,6 @@ options:
description: description:
- A dictionary of meta data to use for further filtering. Elements of - A dictionary of meta data to use for further filtering. Elements of
this dictionary may be additional dictionaries. this dictionary may be additional dictionaries.
availability_zone:
description:
- Ignored. Present for backwards compatibility
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack

View File

@ -43,9 +43,6 @@ options:
- Should the roles be present or absent on the user. - Should the roles be present or absent on the user.
choices: [present, absent] choices: [present, absent]
default: present default: present
availability_zone:
description:
- Ignored. Present for backwards compatibility
requirements: requirements:
- "python >= 3.6"" - "python >= 3.6""
- "openstacksdk" - "openstacksdk"

View File

@ -50,9 +50,6 @@ options:
- Should the resource be present or absent. - Should the resource be present or absent.
choices: [present, absent] choices: [present, absent]
default: present default: present
availability_zone:
description:
- Ignored. Present for backwards compatibility
scheduler_hints: scheduler_hints:
description: description:
- Scheduler hints passed to volume API in form of dict - Scheduler hints passed to volume API in form of dict

View File

@ -41,9 +41,6 @@ options:
- Should the resource be present or absent. - Should the resource be present or absent.
choices: [present, absent] choices: [present, absent]
default: present default: present
availability_zone:
description:
- Availability zone in which to create the snapshot.
requirements: requirements:
- "python >= 3.6"" - "python >= 3.6""
- "openstacksdk" - "openstacksdk"

View File

@ -43,9 +43,6 @@ options:
- Should the resource be present or absent. - Should the resource be present or absent.
choices: [present, absent] choices: [present, absent]
default: present default: present
availability_zone:
description:
- Ignored. Present for backwards compatibility
requirements: requirements:
- "python >= 3.6"" - "python >= 3.6""
- "openstacksdk" - "openstacksdk"