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:
Monty Taylor 2017-02-17 14:49:03 -06:00 committed by Ricardo Carrillo Cruz
parent 1ce2ea0b6c
commit 9bf33e56dd
42 changed files with 165 additions and 4 deletions

View file

@ -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
'''

View file

@ -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
'''

View file

@ -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"]
'''

View file

@ -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"

View file

@ -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"]
'''

View file

@ -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
'''

View file

@ -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"]
'''

View file

@ -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"]
'''

View file

@ -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 = '''

View file

@ -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: []
'''

View file

@ -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"

View file

@ -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 = '''

View file

@ -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"

View file

@ -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"

View file

@ -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"]
'''

View file

@ -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
'''

View file

@ -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"]
'''

View file

@ -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 = '''

View file

@ -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 = '''

View file

@ -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
'''

View file

@ -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"

View file

@ -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 = '''

View file

@ -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:

View file

@ -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"

View file

@ -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"]
'''

View file

@ -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 = '''

View file

@ -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"]
'''

View file

@ -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"

View file

@ -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"

View file

@ -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
'''

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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
'''

View file

@ -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"

View file

@ -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 = '''

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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.