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:
|
||||
- "python >= 2.6"
|
||||
- "shade"
|
||||
options:
|
||||
availability_zone:
|
||||
description:
|
||||
- Ignored. Present for backwards compatability
|
||||
required: false
|
||||
extends_documentation_fragment: openstack
|
||||
'''
|
||||
|
||||
|
|
|
@ -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
|
||||
'''
|
||||
|
||||
|
|
|
@ -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"]
|
||||
'''
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"]
|
||||
'''
|
||||
|
||||
|
|
|
@ -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
|
||||
'''
|
||||
|
||||
|
|
|
@ -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"]
|
||||
'''
|
||||
|
|
|
@ -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"]
|
||||
'''
|
||||
|
|
|
@ -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 = '''
|
||||
|
|
|
@ -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: []
|
||||
'''
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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 = '''
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"]
|
||||
'''
|
||||
|
||||
|
|
|
@ -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
|
||||
'''
|
||||
|
||||
|
|
|
@ -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"]
|
||||
'''
|
||||
|
||||
|
|
|
@ -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 = '''
|
||||
|
|
|
@ -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 = '''
|
||||
|
|
|
@ -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
|
||||
'''
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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 = '''
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"]
|
||||
'''
|
||||
|
||||
|
|
|
@ -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 = '''
|
||||
|
|
|
@ -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"]
|
||||
'''
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
'''
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
'''
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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 = '''
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue