mirror of
https://opendev.org/openstack/ansible-collections-openstack.git
synced 2026-03-26 21:43:02 +00:00
Test with and assert support for python3
Collections are new. openstacksdk as of now doesn't support python2. We shouldn't pretend to support python2 either. If you're using ansible new enough to use collections, you can use python3. This release of openstacksdk only supports 3.6 and onwards, so set that as our min. Change-Id: I34d544ce48f25bffde8e6e0cf82cdf9a85e681c3
This commit is contained in:
@@ -86,7 +86,7 @@ options:
|
||||
default: public
|
||||
aliases: [ endpoint_type ]
|
||||
requirements:
|
||||
- python >= 2.7
|
||||
- python >= 3.6
|
||||
- openstacksdk >= 0.12.0
|
||||
notes:
|
||||
- The standard OpenStack environment variables, such as C(OS_USERNAME)
|
||||
|
||||
@@ -17,7 +17,7 @@ author: "Monty Taylor (@emonty)"
|
||||
description:
|
||||
- Retrieve an auth token from an OpenStack Cloud
|
||||
requirements:
|
||||
- "python >= 2.7"
|
||||
- "python >= 3.6""
|
||||
- "openstacksdk"
|
||||
options:
|
||||
availability_zone:
|
||||
|
||||
@@ -26,7 +26,7 @@ description:
|
||||
notes:
|
||||
- The result contains a list of unsorted flavors.
|
||||
requirements:
|
||||
- "python >= 2.7"
|
||||
- "python >= 3.6""
|
||||
- "openstacksdk"
|
||||
options:
|
||||
name:
|
||||
|
||||
@@ -36,7 +36,7 @@ options:
|
||||
description:
|
||||
- Ignored. Present for backwards compatibility
|
||||
requirements:
|
||||
- "python >= 2.7"
|
||||
- "python >= 3.6""
|
||||
- "openstacksdk"
|
||||
|
||||
extends_documentation_fragment:
|
||||
|
||||
@@ -17,7 +17,7 @@ author: "Phillipe Smith (@phsmith)"
|
||||
description:
|
||||
- Retrieve info about a one or more OpenStack groups.
|
||||
requirements:
|
||||
- "python >= 2.7"
|
||||
- "python >= 3.6""
|
||||
- "openstacksdk"
|
||||
options:
|
||||
name:
|
||||
|
||||
@@ -18,7 +18,7 @@ description:
|
||||
- This module was called C(os_image_facts) before Ansible 2.9, returning C(ansible_facts).
|
||||
Note that the M(os_image_info) module no longer returns C(ansible_facts)!
|
||||
requirements:
|
||||
- "python >= 2.7"
|
||||
- "python >= 3.6""
|
||||
- "openstacksdk"
|
||||
options:
|
||||
image:
|
||||
|
||||
@@ -41,7 +41,7 @@ options:
|
||||
description:
|
||||
- Ignored. Present for backwards compatibility
|
||||
requirements:
|
||||
- "python >= 2.7"
|
||||
- "python >= 3.6""
|
||||
- "openstacksdk"
|
||||
|
||||
extends_documentation_fragment:
|
||||
|
||||
@@ -18,7 +18,7 @@ description:
|
||||
- This module was called C(os_keystone_domain_facts) before Ansible 2.9, returning C(ansible_facts).
|
||||
Note that the M(os_keystone_domain_info) module no longer returns C(ansible_facts)!
|
||||
requirements:
|
||||
- "python >= 2.7"
|
||||
- "python >= 3.6""
|
||||
- "sdk"
|
||||
options:
|
||||
name:
|
||||
|
||||
@@ -32,7 +32,7 @@ options:
|
||||
- Ignored. Present for backwards compatibility
|
||||
required: false
|
||||
requirements:
|
||||
- "python >= 2.7"
|
||||
- "python >= 3.6""
|
||||
- "openstacksdk"
|
||||
|
||||
extends_documentation_fragment:
|
||||
|
||||
@@ -43,7 +43,7 @@ options:
|
||||
description:
|
||||
- Ignored. Present for backwards compatibility
|
||||
requirements:
|
||||
- "python >= 2.7"
|
||||
- "python >= 3.6""
|
||||
- "openstacksdk"
|
||||
|
||||
extends_documentation_fragment:
|
||||
|
||||
@@ -19,7 +19,7 @@ description:
|
||||
- This module was called C(os_networks_facts) before Ansible 2.9, returning C(ansible_facts).
|
||||
Note that the M(os_networks_info) module no longer returns C(ansible_facts)!
|
||||
requirements:
|
||||
- "python >= 2.7"
|
||||
- "python >= 3.6""
|
||||
- "sdk"
|
||||
options:
|
||||
name:
|
||||
|
||||
@@ -32,7 +32,7 @@ options:
|
||||
choices: [present, absent]
|
||||
default: present
|
||||
requirements:
|
||||
- "python >= 2.7"
|
||||
- "python >= 3.6""
|
||||
- "openstacksdk"
|
||||
|
||||
extends_documentation_fragment:
|
||||
|
||||
@@ -18,7 +18,7 @@ description:
|
||||
- Add, Update or Remove ports from an OpenStack cloud. A I(state) of
|
||||
'present' will ensure the port is created or updated if required.
|
||||
requirements:
|
||||
- "ordereddict unless python >= 2.7"
|
||||
- "ordereddict unless python >= 3.6""
|
||||
- "openstacksdk"
|
||||
options:
|
||||
network:
|
||||
|
||||
@@ -18,7 +18,7 @@ description:
|
||||
- This module was called C(os_port_facts) before Ansible 2.9, returning C(ansible_facts).
|
||||
Note that the M(os_port_info) module no longer returns C(ansible_facts)!
|
||||
requirements:
|
||||
- "python >= 2.7"
|
||||
- "python >= 3.6""
|
||||
- "openstacksdk"
|
||||
options:
|
||||
port:
|
||||
|
||||
@@ -45,7 +45,7 @@ options:
|
||||
description:
|
||||
- Ignored. Present for backwards compatibility
|
||||
requirements:
|
||||
- "python >= 2.7"
|
||||
- "python >= 3.6""
|
||||
- "openstacksdk"
|
||||
|
||||
extends_documentation_fragment:
|
||||
|
||||
@@ -18,7 +18,7 @@ description:
|
||||
- This module was called C(os_project_facts) before Ansible 2.9, returning C(ansible_facts).
|
||||
Note that the M(os_project_info) module no longer returns C(ansible_facts)!
|
||||
requirements:
|
||||
- "python >= 2.7"
|
||||
- "python >= 3.6""
|
||||
- "openstacksdk"
|
||||
options:
|
||||
name:
|
||||
|
||||
@@ -98,7 +98,7 @@ options:
|
||||
|
||||
|
||||
requirements:
|
||||
- "python >= 2.7"
|
||||
- "python >= 3.6""
|
||||
- "openstacksdk >= 0.13.0"
|
||||
- "keystoneauth1 >= 3.4.0"
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@ options:
|
||||
description:
|
||||
- Ignored. Present for backwards compatibility
|
||||
requirements:
|
||||
- "python >= 2.7"
|
||||
- "python >= 3.6""
|
||||
- "openstacksdk"
|
||||
|
||||
extends_documentation_fragment:
|
||||
|
||||
@@ -18,7 +18,7 @@ author: "Bram Verschueren (@bverschueren)"
|
||||
description:
|
||||
- Retrieve information about one or more routers from OpenStack.
|
||||
requirements:
|
||||
- "python >= 2.7"
|
||||
- "python >= 3.6""
|
||||
- "openstacksdk"
|
||||
options:
|
||||
name:
|
||||
|
||||
@@ -169,7 +169,7 @@ options:
|
||||
description:
|
||||
- Availability zone in which to create the server.
|
||||
requirements:
|
||||
- "python >= 2.7"
|
||||
- "python >= 3.6""
|
||||
- "openstacksdk"
|
||||
|
||||
extends_documentation_fragment:
|
||||
|
||||
@@ -48,7 +48,7 @@ options:
|
||||
description:
|
||||
- Ignored. Present for backwards compatibility
|
||||
requirements:
|
||||
- "python >= 2.7"
|
||||
- "python >= 3.6""
|
||||
- "openstacksdk"
|
||||
|
||||
extends_documentation_fragment:
|
||||
|
||||
@@ -40,7 +40,7 @@ options:
|
||||
- Ignored. Present for backwards compatibility
|
||||
required: false
|
||||
requirements:
|
||||
- "python >= 2.7"
|
||||
- "python >= 3.6""
|
||||
- "openstacksdk"
|
||||
|
||||
extends_documentation_fragment:
|
||||
|
||||
@@ -21,7 +21,7 @@ description:
|
||||
notes:
|
||||
- The result contains a list of servers.
|
||||
requirements:
|
||||
- "python >= 2.7"
|
||||
- "python >= 3.6""
|
||||
- "openstacksdk"
|
||||
options:
|
||||
server:
|
||||
|
||||
@@ -38,7 +38,7 @@ options:
|
||||
- Availability zone in which to create the snapshot.
|
||||
required: false
|
||||
requirements:
|
||||
- "python >= 2.7"
|
||||
- "python >= 3.6""
|
||||
- "openstack"
|
||||
|
||||
extends_documentation_fragment:
|
||||
|
||||
@@ -39,7 +39,7 @@ options:
|
||||
description:
|
||||
- Ignored. Present for backwards compatibility
|
||||
requirements:
|
||||
- "python >= 2.7"
|
||||
- "python >= 3.6""
|
||||
- "openstacksdk"
|
||||
|
||||
extends_documentation_fragment:
|
||||
|
||||
@@ -55,7 +55,7 @@ options:
|
||||
description:
|
||||
- Ignored. Present for backwards compatibility
|
||||
requirements:
|
||||
- "python >= 2.7"
|
||||
- "python >= 3.6""
|
||||
- "openstacksdk"
|
||||
|
||||
extends_documentation_fragment:
|
||||
|
||||
@@ -94,7 +94,7 @@ options:
|
||||
required: false
|
||||
default: {}
|
||||
requirements:
|
||||
- "python >= 2.7"
|
||||
- "python >= 3.6""
|
||||
- "openstacksdk"
|
||||
|
||||
extends_documentation_fragment:
|
||||
|
||||
@@ -19,7 +19,7 @@ description:
|
||||
- This module was called C(os_subnets_facts) before Ansible 2.9, returning C(ansible_facts).
|
||||
Note that the M(os_subnets_info) module no longer returns C(ansible_facts)!
|
||||
requirements:
|
||||
- "python >= 2.7"
|
||||
- "python >= 3.6""
|
||||
- "openstacksdk"
|
||||
options:
|
||||
name:
|
||||
|
||||
@@ -59,7 +59,7 @@ options:
|
||||
description:
|
||||
- Ignored. Present for backwards compatibility
|
||||
requirements:
|
||||
- "python >= 2.7"
|
||||
- "python >= 3.6""
|
||||
- "openstacksdk"
|
||||
|
||||
extends_documentation_fragment:
|
||||
|
||||
@@ -34,7 +34,7 @@ options:
|
||||
- Ignored. Present for backwards compatibility
|
||||
required: false
|
||||
requirements:
|
||||
- "python >= 2.7"
|
||||
- "python >= 3.6""
|
||||
- "openstacksdk"
|
||||
|
||||
extends_documentation_fragment:
|
||||
|
||||
@@ -18,7 +18,7 @@ description:
|
||||
- This module was called C(os_user_facts) before Ansible 2.9, returning C(ansible_facts).
|
||||
Note that the M(os_user_info) module no longer returns C(ansible_facts)!
|
||||
requirements:
|
||||
- "python >= 2.7"
|
||||
- "python >= 3.6""
|
||||
- "openstacksdk"
|
||||
options:
|
||||
name:
|
||||
|
||||
@@ -47,7 +47,7 @@ options:
|
||||
description:
|
||||
- Ignored. Present for backwards compatibility
|
||||
requirements:
|
||||
- "python >= 2.7"
|
||||
- "python >= 3.6""
|
||||
- "openstacksdk"
|
||||
|
||||
extends_documentation_fragment:
|
||||
|
||||
@@ -60,7 +60,7 @@ options:
|
||||
description:
|
||||
- Metadata for the volume
|
||||
requirements:
|
||||
- "python >= 2.7"
|
||||
- "python >= 3.6""
|
||||
- "openstacksdk"
|
||||
|
||||
extends_documentation_fragment:
|
||||
|
||||
@@ -45,7 +45,7 @@ options:
|
||||
description:
|
||||
- Availability zone in which to create the snapshot.
|
||||
requirements:
|
||||
- "python >= 2.7"
|
||||
- "python >= 3.6""
|
||||
- "openstacksdk"
|
||||
|
||||
extends_documentation_fragment:
|
||||
|
||||
@@ -47,7 +47,7 @@ options:
|
||||
description:
|
||||
- Ignored. Present for backwards compatibility
|
||||
requirements:
|
||||
- "python >= 2.7"
|
||||
- "python >= 3.6""
|
||||
- "openstacksdk"
|
||||
|
||||
extends_documentation_fragment:
|
||||
|
||||
Reference in New Issue
Block a user