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
This commit is contained in:
parent
1ce2ea0b6c
commit
9bf33e56dd
42 changed files with 165 additions and 4 deletions
|
@ -30,6 +30,11 @@ description:
|
||||||
requirements:
|
requirements:
|
||||||
- "python >= 2.6"
|
- "python >= 2.6"
|
||||||
- "shade"
|
- "shade"
|
||||||
|
options:
|
||||||
|
availability_zone:
|
||||||
|
description:
|
||||||
|
- Ignored. Present for backwards compatability
|
||||||
|
required: false
|
||||||
extends_documentation_fragment: openstack
|
extends_documentation_fragment: openstack
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
|
|
@ -80,6 +80,10 @@ options:
|
||||||
required: false
|
required: false
|
||||||
default: false
|
default: false
|
||||||
version_added: "2.3"
|
version_added: "2.3"
|
||||||
|
availability_zone:
|
||||||
|
description:
|
||||||
|
- Ignored. Present for backwards compatability
|
||||||
|
required: false
|
||||||
extends_documentation_fragment: openstack
|
extends_documentation_fragment: openstack
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
|
|
@ -87,6 +87,10 @@ options:
|
||||||
required: false
|
required: false
|
||||||
default: false
|
default: false
|
||||||
version_added: "2.1"
|
version_added: "2.1"
|
||||||
|
availability_zone:
|
||||||
|
description:
|
||||||
|
- Ignored. Present for backwards compatability
|
||||||
|
required: false
|
||||||
requirements: ["shade"]
|
requirements: ["shade"]
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
|
|
@ -43,6 +43,10 @@ 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 compatability
|
||||||
|
required: false
|
||||||
requirements:
|
requirements:
|
||||||
- "python >= 2.6"
|
- "python >= 2.6"
|
||||||
- "shade"
|
- "shade"
|
||||||
|
|
|
@ -92,6 +92,10 @@ 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 compatability
|
||||||
|
required: false
|
||||||
requirements: ["shade"]
|
requirements: ["shade"]
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
|
|
@ -36,6 +36,10 @@ options:
|
||||||
description:
|
description:
|
||||||
- Name or ID of the image
|
- Name or ID of the image
|
||||||
required: true
|
required: true
|
||||||
|
availability_zone:
|
||||||
|
description:
|
||||||
|
- Ignored. Present for backwards compatability
|
||||||
|
required: false
|
||||||
extends_documentation_fragment: openstack
|
extends_documentation_fragment: openstack
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
|
|
@ -118,6 +118,10 @@ options:
|
||||||
re-assert the password field.
|
re-assert the password field.
|
||||||
required: false
|
required: false
|
||||||
default: false
|
default: false
|
||||||
|
availability_zone:
|
||||||
|
description:
|
||||||
|
- Ignored. Present for backwards compatability
|
||||||
|
required: false
|
||||||
|
|
||||||
requirements: ["shade", "jsonpatch"]
|
requirements: ["shade", "jsonpatch"]
|
||||||
'''
|
'''
|
||||||
|
|
|
@ -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.
|
- A timeout in seconds to tell the role to wait for the node to complete introspection if wait is set to True.
|
||||||
required: false
|
required: false
|
||||||
default: 1200
|
default: 1200
|
||||||
|
availability_zone:
|
||||||
|
description:
|
||||||
|
- Ignored. Present for backwards compatability
|
||||||
|
required: false
|
||||||
|
|
||||||
requirements: ["shade"]
|
requirements: ["shade"]
|
||||||
'''
|
'''
|
||||||
|
|
|
@ -106,6 +106,10 @@ options:
|
||||||
- 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.
|
||||||
version_added: "2.1"
|
version_added: "2.1"
|
||||||
|
availability_zone:
|
||||||
|
description:
|
||||||
|
- Ignored. Present for backwards compatability
|
||||||
|
required: false
|
||||||
'''
|
'''
|
||||||
|
|
||||||
EXAMPLES = '''
|
EXAMPLES = '''
|
||||||
|
|
|
@ -52,6 +52,10 @@ 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 compatability
|
||||||
|
required: false
|
||||||
requirements: []
|
requirements: []
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
|
|
@ -48,6 +48,10 @@ 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 compatability
|
||||||
|
required: false
|
||||||
requirements:
|
requirements:
|
||||||
- "python >= 2.6"
|
- "python >= 2.6"
|
||||||
- "shade"
|
- "shade"
|
||||||
|
|
|
@ -41,6 +41,10 @@ options:
|
||||||
this dictionary may be additional dictionaries.
|
this dictionary may be additional dictionaries.
|
||||||
required: false
|
required: false
|
||||||
default: None
|
default: None
|
||||||
|
availability_zone:
|
||||||
|
description:
|
||||||
|
- Ignored. Present for backwards compatability
|
||||||
|
required: false
|
||||||
'''
|
'''
|
||||||
|
|
||||||
EXAMPLES = '''
|
EXAMPLES = '''
|
||||||
|
|
|
@ -37,6 +37,10 @@ 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 compatability
|
||||||
|
required: false
|
||||||
requirements:
|
requirements:
|
||||||
- "python >= 2.6"
|
- "python >= 2.6"
|
||||||
- "shade"
|
- "shade"
|
||||||
|
|
|
@ -53,6 +53,10 @@ 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 compatability
|
||||||
|
required: false
|
||||||
requirements:
|
requirements:
|
||||||
- "python >= 2.6"
|
- "python >= 2.6"
|
||||||
- "shade"
|
- "shade"
|
||||||
|
|
|
@ -82,6 +82,10 @@ options:
|
||||||
required: false
|
required: false
|
||||||
default: None
|
default: None
|
||||||
version_added: "2.1"
|
version_added: "2.1"
|
||||||
|
availability_zone:
|
||||||
|
description:
|
||||||
|
- Ignored. Present for backwards compatability
|
||||||
|
required: false
|
||||||
requirements: ["shade"]
|
requirements: ["shade"]
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
|
|
@ -40,6 +40,10 @@ 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 compatability
|
||||||
|
required: false
|
||||||
extends_documentation_fragment: openstack
|
extends_documentation_fragment: openstack
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
|
|
@ -82,6 +82,10 @@ options:
|
||||||
assigned if a value is not specified.
|
assigned if a value is not specified.
|
||||||
required: false
|
required: false
|
||||||
default: "auto"
|
default: "auto"
|
||||||
|
availability_zone:
|
||||||
|
description:
|
||||||
|
- Ignored. Present for backwards compatability
|
||||||
|
required: false
|
||||||
requirements: ["shade"]
|
requirements: ["shade"]
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
|
|
@ -54,6 +54,10 @@ 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 compatability
|
||||||
|
required: false
|
||||||
'''
|
'''
|
||||||
|
|
||||||
EXAMPLES = '''
|
EXAMPLES = '''
|
||||||
|
|
|
@ -101,6 +101,10 @@ 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 compatability
|
||||||
|
required: false
|
||||||
'''
|
'''
|
||||||
|
|
||||||
EXAMPLES = '''
|
EXAMPLES = '''
|
||||||
|
|
|
@ -45,6 +45,10 @@ options:
|
||||||
the port dictionary, or strings within nested dictionaries.
|
the port dictionary, or strings within nested dictionaries.
|
||||||
required: false
|
required: false
|
||||||
default: null
|
default: null
|
||||||
|
availability_zone:
|
||||||
|
description:
|
||||||
|
- Ignored. Present for backwards compatability
|
||||||
|
required: false
|
||||||
extends_documentation_fragment: openstack
|
extends_documentation_fragment: openstack
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
|
|
@ -58,6 +58,10 @@ 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 compatability
|
||||||
|
required: false
|
||||||
requirements:
|
requirements:
|
||||||
- "python >= 2.6"
|
- "python >= 2.6"
|
||||||
- "shade"
|
- "shade"
|
||||||
|
|
|
@ -46,6 +46,10 @@ options:
|
||||||
this dictionary may be additional dictionaries.
|
this dictionary may be additional dictionaries.
|
||||||
required: false
|
required: false
|
||||||
default: None
|
default: None
|
||||||
|
availability_zone:
|
||||||
|
description:
|
||||||
|
- Ignored. Present for backwards compatability
|
||||||
|
required: false
|
||||||
'''
|
'''
|
||||||
|
|
||||||
EXAMPLES = '''
|
EXAMPLES = '''
|
||||||
|
|
|
@ -156,6 +156,10 @@ options:
|
||||||
required: False
|
required: False
|
||||||
default: None
|
default: None
|
||||||
description: Number of LVM volumes to allow.
|
description: Number of LVM volumes to allow.
|
||||||
|
availability_zone:
|
||||||
|
description:
|
||||||
|
- Ignored. Present for backwards compatability
|
||||||
|
required: false
|
||||||
|
|
||||||
|
|
||||||
requirements:
|
requirements:
|
||||||
|
|
|
@ -61,6 +61,10 @@ 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 compatability
|
||||||
|
required: false
|
||||||
requirements:
|
requirements:
|
||||||
- "python >= 2.6"
|
- "python >= 2.6"
|
||||||
- "shade"
|
- "shade"
|
||||||
|
|
|
@ -75,6 +75,10 @@ options:
|
||||||
- List of subnets to attach to the router internal interface.
|
- List of subnets to attach to the router internal interface.
|
||||||
required: false
|
required: false
|
||||||
default: None
|
default: None
|
||||||
|
availability_zone:
|
||||||
|
description:
|
||||||
|
- Ignored. Present for backwards compatability
|
||||||
|
required: false
|
||||||
requirements: ["shade"]
|
requirements: ["shade"]
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
|
|
@ -45,6 +45,10 @@ 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 compatability
|
||||||
|
required: false
|
||||||
'''
|
'''
|
||||||
|
|
||||||
EXAMPLES = '''
|
EXAMPLES = '''
|
||||||
|
|
|
@ -74,6 +74,10 @@ 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 compatability
|
||||||
|
required: false
|
||||||
requirements: ["shade"]
|
requirements: ["shade"]
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
|
|
@ -192,6 +192,10 @@ options:
|
||||||
required: false
|
required: false
|
||||||
default: true
|
default: true
|
||||||
version_added: "2.2"
|
version_added: "2.2"
|
||||||
|
availability_zone:
|
||||||
|
description:
|
||||||
|
- Availability zone in which to create the server.
|
||||||
|
required: false
|
||||||
requirements:
|
requirements:
|
||||||
- "python >= 2.6"
|
- "python >= 2.6"
|
||||||
- "shade"
|
- "shade"
|
||||||
|
|
|
@ -59,6 +59,10 @@ options:
|
||||||
- Image the server should be rebuilt with
|
- Image the server should be rebuilt with
|
||||||
default: null
|
default: null
|
||||||
version_added: "2.3"
|
version_added: "2.3"
|
||||||
|
availability_zone:
|
||||||
|
description:
|
||||||
|
- Ignored. Present for backwards compatability
|
||||||
|
required: false
|
||||||
requirements:
|
requirements:
|
||||||
- "python >= 2.6"
|
- "python >= 2.6"
|
||||||
- "shade"
|
- "shade"
|
||||||
|
|
|
@ -45,6 +45,10 @@ options:
|
||||||
of additional API calls.
|
of additional API calls.
|
||||||
required: false
|
required: false
|
||||||
default: false
|
default: false
|
||||||
|
availability_zone:
|
||||||
|
description:
|
||||||
|
- Ignored. Present for backwards compatability
|
||||||
|
required: false
|
||||||
extends_documentation_fragment: openstack
|
extends_documentation_fragment: openstack
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
|
|
@ -47,6 +47,10 @@ 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 compatability
|
||||||
|
required: false
|
||||||
requirements:
|
requirements:
|
||||||
- "python >= 2.6"
|
- "python >= 2.6"
|
||||||
- "shade"
|
- "shade"
|
||||||
|
|
|
@ -49,6 +49,10 @@ options:
|
||||||
- Device you want to attach. Defaults to auto finding a device name.
|
- Device you want to attach. Defaults to auto finding a device name.
|
||||||
required: false
|
required: false
|
||||||
default: None
|
default: None
|
||||||
|
availability_zone:
|
||||||
|
description:
|
||||||
|
- Ignored. Present for backwards compatability
|
||||||
|
required: false
|
||||||
requirements:
|
requirements:
|
||||||
- "python >= 2.6"
|
- "python >= 2.6"
|
||||||
- "shade"
|
- "shade"
|
||||||
|
|
|
@ -66,6 +66,10 @@ options:
|
||||||
- Maximum number of seconds to wait for the stack creation
|
- Maximum number of seconds to wait for the stack creation
|
||||||
required: false
|
required: false
|
||||||
default: 3600
|
default: 3600
|
||||||
|
availability_zone:
|
||||||
|
description:
|
||||||
|
- Ignored. Present for backwards compatability
|
||||||
|
required: false
|
||||||
requirements:
|
requirements:
|
||||||
- "python >= 2.6"
|
- "python >= 2.6"
|
||||||
- "shade"
|
- "shade"
|
||||||
|
|
|
@ -114,6 +114,10 @@ options:
|
||||||
required: false
|
required: false
|
||||||
default: None
|
default: None
|
||||||
version_added: "2.1"
|
version_added: "2.1"
|
||||||
|
availability_zone:
|
||||||
|
description:
|
||||||
|
- Ignored. Present for backwards compatability
|
||||||
|
required: false
|
||||||
requirements:
|
requirements:
|
||||||
- "python >= 2.6"
|
- "python >= 2.6"
|
||||||
- "shade"
|
- "shade"
|
||||||
|
|
|
@ -40,6 +40,10 @@ 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 compatability
|
||||||
|
required: false
|
||||||
extends_documentation_fragment: openstack
|
extends_documentation_fragment: openstack
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
|
|
@ -73,6 +73,10 @@ 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 compatability
|
||||||
|
required: false
|
||||||
requirements:
|
requirements:
|
||||||
- "python >= 2.6"
|
- "python >= 2.6"
|
||||||
- "shade"
|
- "shade"
|
||||||
|
|
|
@ -46,6 +46,10 @@ options:
|
||||||
this dictionary may be additional dictionaries.
|
this dictionary may be additional dictionaries.
|
||||||
required: false
|
required: false
|
||||||
default: None
|
default: None
|
||||||
|
availability_zone:
|
||||||
|
description:
|
||||||
|
- Ignored. Present for backwards compatability
|
||||||
|
required: false
|
||||||
'''
|
'''
|
||||||
|
|
||||||
EXAMPLES = '''
|
EXAMPLES = '''
|
||||||
|
|
|
@ -41,6 +41,10 @@ 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 compatability
|
||||||
|
required: false
|
||||||
requirements:
|
requirements:
|
||||||
- "python >= 2.6"
|
- "python >= 2.6"
|
||||||
- "shade"
|
- "shade"
|
||||||
|
|
|
@ -63,6 +63,10 @@ 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 compatability
|
||||||
|
required: false
|
||||||
requirements:
|
requirements:
|
||||||
- "python >= 2.6"
|
- "python >= 2.6"
|
||||||
- "shade"
|
- "shade"
|
||||||
|
|
|
@ -70,6 +70,10 @@ 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 compatability
|
||||||
|
required: false
|
||||||
requirements:
|
requirements:
|
||||||
- "python >= 2.6"
|
- "python >= 2.6"
|
||||||
- "shade"
|
- "shade"
|
||||||
|
|
|
@ -63,6 +63,10 @@ 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 compatability
|
||||||
|
required: false
|
||||||
requirements:
|
requirements:
|
||||||
- "python >= 2.6"
|
- "python >= 2.6"
|
||||||
- "shade"
|
- "shade"
|
||||||
|
|
|
@ -48,10 +48,6 @@ options:
|
||||||
description:
|
description:
|
||||||
- Name of the region.
|
- Name of the region.
|
||||||
required: false
|
required: false
|
||||||
availability_zone:
|
|
||||||
description:
|
|
||||||
- Name of the availability zone.
|
|
||||||
required: false
|
|
||||||
wait:
|
wait:
|
||||||
description:
|
description:
|
||||||
- Should ansible wait until the requested resource is complete.
|
- Should ansible wait until the requested resource is complete.
|
||||||
|
|
Loading…
Reference in a new issue