Properly documented openstacksdk version requirements

With "extends_documentation_fragment: ['openstack.cloud.openstack']"
it is not necessary to list required Python libraries in section
'requirements' of DOCUMENTATION docstring in modules. Ansible will
merge requirements from doc fragments and DOCUMENTATION docstring
which previously resulted in duplicates such as in server module [0]:

* openstacksdk
* openstacksdk >= 0.36, < 0.99.0
* python >= 3.6

When removing the 'requirements' section from server module, then
Ansible will list openstacksdk once only:

* openstacksdk >= 0.36, < 0.99.0
* python >= 3.6

To see what documentation Ansible will produce for server module run:

  ansible-doc --type module openstack.cloud.server

[0] https://docs.ansible.com/ansible/latest/collections/openstack/\
    cloud/server_module.html

Change-Id: I727ed95ee480bb644b5a533f6a9526973677064c
This commit is contained in:
Jakob Meng 2023-01-16 13:50:32 +01:00
parent a46bbd0d48
commit 1b38b7c500
86 changed files with 6 additions and 310 deletions

View File

@ -96,8 +96,8 @@ options:
default: INFO default: INFO
choices: [INFO, DEBUG] choices: [INFO, DEBUG]
requirements: requirements:
- python >= 3.6 - "python >= 3.6"
- openstacksdk >= 0.103.0 - "openstacksdk >= 0.103.0"
notes: notes:
- The standard OpenStack environment variables, such as C(OS_USERNAME) - The standard OpenStack environment variables, such as C(OS_USERNAME)
may be used instead of providing explicit values. may be used instead of providing explicit values.

View File

@ -112,8 +112,8 @@ options:
type: bool type: bool
default: true default: true
requirements: requirements:
- "python >= 3.6" - "python >= 3.6"
- "openstacksdk" - "openstacksdk >= 0.103.0"
extends_documentation_fragment: extends_documentation_fragment:
- inventory_cache - inventory_cache
- constructed - constructed

View File

@ -47,10 +47,6 @@ options:
- Dictionary with extra key/value pairs passed to the API - Dictionary with extra key/value pairs passed to the API
default: {} default: {}
type: dict type: dict
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -11,9 +11,6 @@ short_description: Retrieve auth token from OpenStack cloud
author: OpenStack Ansible SIG author: OpenStack Ansible SIG
description: description:
- Retrieve auth token from OpenStack cloud - Retrieve auth token from OpenStack cloud
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -25,11 +25,6 @@ options:
- Mutually exclusive with I(mac) - Mutually exclusive with I(mac)
type: str type: str
aliases: [id, uuid] aliases: [id, uuid]
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -164,10 +164,6 @@ options:
- Interface for all vendor-specific actions on this node, e.g. - Interface for all vendor-specific actions on this node, e.g.
C(no-vendor). C(no-vendor).
type: str type: str
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -81,10 +81,6 @@ options:
to complete. to complete.
type: int type: int
default: 1800 default: 1800
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -21,10 +21,6 @@ options:
- Name or ID of the baremetal node. - Name or ID of the baremetal node.
type: str type: str
aliases: ['node'] aliases: ['node']
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -69,9 +69,6 @@ options:
choices: ['present', 'absent'] choices: ['present', 'absent']
default: present default: present
type: str type: str
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -25,9 +25,6 @@ options:
description: description:
- Name or ID of a Bare Metal node. - Name or ID of a Bare Metal node.
type: str type: str
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -38,10 +38,6 @@ options:
choices: ['present', 'absent'] choices: ['present', 'absent']
default: present default: present
type: str type: str
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -16,10 +16,6 @@ options:
description: description:
- Name or ID of the service. - Name or ID of the service.
type: str type: str
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -78,9 +78,6 @@ notes:
- Return values of this module are preliminary and will most likely change - Return values of this module are preliminary and will most likely change
when openstacksdk has finished its transition of cloud layer functions to when openstacksdk has finished its transition of cloud layer functions to
resource proxies. resource proxies.
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -144,9 +144,6 @@ notes:
- Return values of this module are preliminary and will most likely change - Return values of this module are preliminary and will most likely change
when openstacksdk has finished its transition of cloud layer functions to when openstacksdk has finished its transition of cloud layer functions to
resource proxies. resource proxies.
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -76,10 +76,6 @@ options:
- Number of virtual CPUs. - Number of virtual CPUs.
- Required when I(state) is C(present). - Required when I(state) is C(present).
type: int type: int
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -35,9 +35,6 @@ options:
choices: ['present', 'absent'] choices: ['present', 'absent']
notes: notes:
- A compute flavor must not be private to manage project access. - A compute flavor must not be private to manage project access.
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -44,9 +44,6 @@ options:
- Filter flavors based on the number of virtual CPUs. - Filter flavors based on the number of virtual CPUs.
- I(vcpus) supports same format as I(ram) option. - I(vcpus) supports same format as I(ram) option.
type: str type: str
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -20,9 +20,6 @@ options:
description: description:
- Filter the service list result by the host name. - Filter the service list result by the host name.
type: str type: str
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -22,8 +22,8 @@ options:
type: list type: list
elements: str elements: str
requirements: requirements:
- "python >= 3.6" - "python >= 3.6"
- "openstacksdk" - "openstacksdk >= 0.103.0"
''' '''
RETURN = r''' RETURN = r'''

View File

@ -49,9 +49,6 @@ options:
choices: ['primary', 'secondary'] choices: ['primary', 'secondary']
type: str type: str
aliases: ['zone_type'] aliases: ['zone_type']
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -35,9 +35,6 @@ options:
- Zone type. - Zone type.
choices: ['primary', 'secondary'] choices: ['primary', 'secondary']
type: str type: str
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -47,10 +47,6 @@ options:
choices: [present, absent] choices: [present, absent]
default: present default: present
type: str type: str
requirements:
- "python >= 3.6"
- "openstacksdk >= 0.13.0"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -47,9 +47,6 @@ options:
- Will default to an empty list when creating a new Identity Provider. - Will default to an empty list when creating a new Identity Provider.
type: list type: list
elements: str elements: str
requirements:
- "python >= 3.6"
- "openstacksdk >= 0.44"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -18,9 +18,6 @@ options:
- The name of the identity provider to fetch. - The name of the identity provider to fetch.
type: str type: str
aliases: ['id'] aliases: ['id']
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -48,9 +48,6 @@ options:
type: str type: str
notes: notes:
- Name equals the ID of a mapping. - Name equals the ID of a mapping.
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -19,9 +19,6 @@ options:
aliases: ['id'] aliases: ['id']
notes: notes:
- Name equals the ID of a federation mapping. - Name equals the ID of a federation mapping.
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -65,10 +65,6 @@ options:
choices: [present, absent] choices: [present, absent]
default: present default: present
type: str type: str
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -46,10 +46,6 @@ options:
- The status of a floating IP. - The status of a floating IP.
choices: ['active', 'down'] choices: ['active', 'down']
type: str type: str
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -28,10 +28,6 @@ options:
choices: [present, absent] choices: [present, absent]
default: present default: present
type: str type: str
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -37,10 +37,6 @@ options:
choices: [present, absent] choices: [present, absent]
default: present default: present
type: str type: str
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -34,10 +34,6 @@ options:
choices: [present, absent] choices: [present, absent]
default: present default: present
type: str type: str
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -21,10 +21,6 @@ options:
- A dictionary of meta data to use for filtering. Elements of - A dictionary of meta data to use for filtering. Elements of
this dictionary may be additional dictionaries. this dictionary may be additional dictionaries.
type: dict type: dict
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -32,10 +32,6 @@ options:
choices: [present, absent] choices: [present, absent]
default: present default: present
type: str type: str
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -25,10 +25,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
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -23,10 +23,6 @@ options:
choices: [present, absent] choices: [present, absent]
default: present default: present
type: str type: str
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -22,11 +22,6 @@ options:
- Name or ID of the role - Name or ID of the role
type: str type: str
required: false required: false
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -60,10 +60,6 @@ options:
choices: [present, absent] choices: [present, absent]
default: present default: present
type: str type: str
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -26,10 +26,6 @@ options:
this dictionary may be additional dictionaries. this dictionary may be additional dictionaries.
type: dict type: dict
default: {} default: {}
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -122,9 +122,6 @@ options:
- I(volume) has been deprecated. Use module M(openstack.cloud.volume) - I(volume) has been deprecated. Use module M(openstack.cloud.volume)
instead. instead.
type: str type: str
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -22,9 +22,6 @@ options:
- Dict of properties of the images used for query - Dict of properties of the images used for query
type: dict type: dict
aliases: ['properties'] aliases: ['properties']
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -37,10 +37,6 @@ options:
choices: [present, absent, replace] choices: [present, absent, replace]
default: present default: present
type: str type: str
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -29,10 +29,6 @@ options:
description: description:
- The last-seen item. - The last-seen item.
type: str type: str
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -42,9 +42,6 @@ notes:
- Name equals the ID of a federation protocol. - Name equals the ID of a federation protocol.
- Name equals the ID of an identity provider. - Name equals the ID of an identity provider.
- Name equals the ID of a mapping. - Name equals the ID of a mapping.
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -26,9 +26,6 @@ options:
notes: notes:
- Name equals the ID of a federation protocol. - Name equals the ID of a federation protocol.
- Name equals the ID of an identity provider. - Name equals the ID of an identity provider.
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -89,9 +89,6 @@ options:
- Must be a string that begins with a forward slash (C(/)). - Must be a string that begins with a forward slash (C(/)).
- "Octavia's default URL path is C(/)." - "Octavia's default URL path is C(/)."
type: str type: str
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -70,9 +70,6 @@ options:
description: description:
- Member inactivity timeout in milliseconds. - Member inactivity timeout in milliseconds.
type: int type: int
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -64,9 +64,6 @@ options:
connections. A valid value is from 0 to 256. connections. A valid value is from 0 to 256.
- "Octavia's default for I(weight) is C(1)." - "Octavia's default for I(weight) is C(1)."
type: int type: int
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -57,9 +57,6 @@ options:
choices: [present, absent] choices: [present, absent]
default: present default: present
type: str type: str
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -90,9 +90,6 @@ options:
for creation. for creation.
- This attribute cannot be updated. - This attribute cannot be updated.
type: str type: str
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -74,10 +74,6 @@ options:
Network will use Openstack defaults if this option is Network will use Openstack defaults if this option is
not provided. not provided.
type: str type: str
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -23,10 +23,6 @@ options:
this dictionary may be additional dictionaries. this dictionary may be additional dictionaries.
required: false required: false
type: dict type: dict
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -57,7 +57,6 @@ options:
- Filters the RBAC rules based on the target project id. - Filters the RBAC rules based on the target project id.
- Logically AND'ed with other filters. - Logically AND'ed with other filters.
type: str type: str
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -13,8 +13,6 @@ author: OpenStack Ansible SIG
description: description:
- Create, update or delete a policy to apply a RBAC rule against a network, - Create, update or delete a policy to apply a RBAC rule against a network,
security group or QoS Policy. security group or QoS Policy.
options: options:
action: action:
description: description:
@ -73,7 +71,6 @@ options:
choices: ['present', 'absent'] choices: ['present', 'absent']
default: present default: present
type: str type: str
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -41,9 +41,6 @@ options:
choices: ['present', 'absent'] choices: ['present', 'absent']
default: present default: present
type: str type: str
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -61,9 +61,6 @@ options:
default: 'present' default: 'present'
choices: ['present', 'absent'] choices: ['present', 'absent']
type: str type: str
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -153,10 +153,6 @@ options:
choices: [present, absent] choices: [present, absent]
default: present default: present
type: str type: str
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -22,10 +22,6 @@ options:
of this dictionary will be matched passed to the API as query of this dictionary will be matched passed to the API as query
parameter filters. parameter filters.
type: dict type: dict
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -44,9 +44,6 @@ options:
choices: [present, absent] choices: [present, absent]
default: present default: present
type: str type: str
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -26,9 +26,6 @@ options:
- Elements of I(filters) are passed as query parameters to - Elements of I(filters) are passed as query parameters to
OpenStack Identity API. OpenStack Identity API.
type: dict type: dict
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -133,11 +133,6 @@ options:
volumes: volumes:
description: Number of volumes to allow. description: Number of volumes to allow.
type: int type: int
requirements:
- "python >= 3.6"
- openstacksdk
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -50,10 +50,6 @@ options:
- Name or ID of the zone which manages the recordset - Name or ID of the zone which manages the recordset
required: true required: true
type: str type: str
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -51,10 +51,6 @@ options:
choices: [present, absent] choices: [present, absent]
default: present default: present
type: str type: str
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -112,10 +112,6 @@ options:
choices: ['present', 'absent'] choices: ['present', 'absent']
default: present default: present
type: str type: str
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -56,9 +56,6 @@ options:
all tags in this list will be returned. all tags in this list will be returned.
type: list type: list
elements: str elements: str
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -113,9 +113,6 @@ options:
choices: [present, absent] choices: [present, absent]
default: present default: present
type: str type: str
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -52,9 +52,6 @@ options:
- Resources that match all tags in this list will be returned. - Resources that match all tags in this list will be returned.
type: list type: list
elements: str elements: str
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -98,9 +98,6 @@ options:
choices: [present, absent] choices: [present, absent]
default: present default: present
type: str type: str
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -69,9 +69,6 @@ options:
description: description:
- Name or ID of the security group - Name or ID of the security group
type: str type: str
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -241,10 +241,6 @@ options:
- If the module should wait for the instance to be created. - If the module should wait for the instance to be created.
type: bool type: bool
default: 'yes' default: 'yes'
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -53,11 +53,6 @@ options:
auth scoped project. auth scoped project.
type: bool type: bool
default: 'no' default: 'no'
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -35,10 +35,6 @@ options:
C(max_server_per_host) rule is supported for the C(anti-affinity) C(max_server_per_host) rule is supported for the C(anti-affinity)
policy. policy.
type: dict type: dict
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -38,10 +38,6 @@ options:
scoped project. scoped project.
type: bool type: bool
default: 'no' default: 'no'
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -34,10 +34,6 @@ options:
choices: [present, absent] choices: [present, absent]
default: present default: present
type: str type: str
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -32,10 +32,6 @@ options:
- Name or id of volume you want to attach to a server - Name or id of volume you want to attach to a server
required: true required: true
type: str type: str
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -62,10 +62,6 @@ options:
- Maximum number of seconds to wait for the stack creation - Maximum number of seconds to wait for the stack creation
default: 3600 default: 3600
type: int type: int
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -30,9 +30,6 @@ options:
description: description:
- Status of the stack such as C(available) - Status of the stack such as C(available)
type: str type: str
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -127,10 +127,6 @@ options:
- The subnet pool name or ID from which to obtain a CIDR - The subnet pool name or ID from which to obtain a CIDR
type: str type: str
required: false required: false
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -72,10 +72,6 @@ options:
choices: ['present', 'absent'] choices: ['present', 'absent']
default: present default: present
type: str type: str
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -25,10 +25,6 @@ options:
this dictionary may be additional dictionaries. this dictionary may be additional dictionaries.
required: false required: false
type: dict type: dict
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -81,10 +81,6 @@ options:
description: description:
- Volume type for volume - Volume type for volume
type: str type: str
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -50,14 +50,8 @@ options:
- Name or ID of the volume. - Name or ID of the volume.
- Required when I(state) is C(present). - Required when I(state) is C(present).
type: str type: str
notes: notes:
- This module does not support updates to existing backups. - This module does not support updates to existing backups.
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -20,11 +20,6 @@ options:
description: description:
- Name or ID of the volume. - Name or ID of the volume.
type: str type: str
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -30,11 +30,6 @@ options:
- Status of the volume so that you can filter on C(available) for example - Status of the volume so that you can filter on C(available) for example
type: str type: str
required: false required: false
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -40,13 +40,8 @@ options:
- Volume name or ID to create the snapshot from. - Volume name or ID to create the snapshot from.
- Required when I(state) is C(present). - Required when I(state) is C(present).
type: str type: str
requirements:
- "python >= 3.6"
- "openstacksdk"
notes: notes:
- Updating existing volume snapshots has not been implemented yet. - Updating existing volume snapshots has not been implemented yet.
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -30,11 +30,6 @@ options:
description: description:
- Name or ID of the volume. - Name or ID of the volume.
type: str type: str
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''

View File

@ -35,9 +35,6 @@ options:
choices: ['present', 'absent'] choices: ['present', 'absent']
notes: notes:
- A volume type must not be private to manage project access. - A volume type must not be private to manage project access.
requirements:
- "python >= 3.6"
- "openstacksdk"
extends_documentation_fragment: extends_documentation_fragment:
- openstack.cloud.openstack - openstack.cloud.openstack
''' '''