From 123b01aaebba2dfd2d0dd7885325573f853dea0d Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Tue, 29 May 2018 07:51:58 -0500 Subject: [PATCH] Bump python support version for openstack modules (#40750) The openstack modules do not support python 2.6 as the underlying library dependency (openstacksdk) does not support python 2.6. Update the docs to make this clear. --- lib/ansible/modules/cloud/openstack/os_auth.py | 2 +- lib/ansible/modules/cloud/openstack/os_flavor_facts.py | 2 +- lib/ansible/modules/cloud/openstack/os_group.py | 2 +- lib/ansible/modules/cloud/openstack/os_image_facts.py | 2 +- lib/ansible/modules/cloud/openstack/os_keystone_domain.py | 2 +- lib/ansible/modules/cloud/openstack/os_keystone_domain_facts.py | 2 +- lib/ansible/modules/cloud/openstack/os_keystone_role.py | 2 +- lib/ansible/modules/cloud/openstack/os_keystone_service.py | 2 +- lib/ansible/modules/cloud/openstack/os_networks_facts.py | 2 +- lib/ansible/modules/cloud/openstack/os_nova_host_aggregate.py | 2 +- lib/ansible/modules/cloud/openstack/os_port_facts.py | 2 +- lib/ansible/modules/cloud/openstack/os_project.py | 2 +- lib/ansible/modules/cloud/openstack/os_project_facts.py | 2 +- lib/ansible/modules/cloud/openstack/os_quota.py | 2 +- lib/ansible/modules/cloud/openstack/os_recordset.py | 2 +- lib/ansible/modules/cloud/openstack/os_server.py | 2 +- lib/ansible/modules/cloud/openstack/os_server_action.py | 2 +- lib/ansible/modules/cloud/openstack/os_server_facts.py | 2 +- lib/ansible/modules/cloud/openstack/os_server_group.py | 2 +- lib/ansible/modules/cloud/openstack/os_server_volume.py | 2 +- lib/ansible/modules/cloud/openstack/os_stack.py | 2 +- lib/ansible/modules/cloud/openstack/os_subnet.py | 2 +- lib/ansible/modules/cloud/openstack/os_subnets_facts.py | 2 +- lib/ansible/modules/cloud/openstack/os_user.py | 2 +- lib/ansible/modules/cloud/openstack/os_user_facts.py | 2 +- lib/ansible/modules/cloud/openstack/os_user_group.py | 2 +- lib/ansible/modules/cloud/openstack/os_user_role.py | 2 +- lib/ansible/modules/cloud/openstack/os_volume.py | 2 +- lib/ansible/modules/cloud/openstack/os_zone.py | 2 +- 29 files changed, 29 insertions(+), 29 deletions(-) diff --git a/lib/ansible/modules/cloud/openstack/os_auth.py b/lib/ansible/modules/cloud/openstack/os_auth.py index 3d9f4b6524f..f1e7cd0fa66 100644 --- a/lib/ansible/modules/cloud/openstack/os_auth.py +++ b/lib/ansible/modules/cloud/openstack/os_auth.py @@ -21,7 +21,7 @@ author: "Monty Taylor (@emonty)" description: - Retrieve an auth token from an OpenStack Cloud requirements: - - "python >= 2.6" + - "python >= 2.7" - "openstacksdk" options: availability_zone: diff --git a/lib/ansible/modules/cloud/openstack/os_flavor_facts.py b/lib/ansible/modules/cloud/openstack/os_flavor_facts.py index 8f10b4f35a4..826e3af9197 100644 --- a/lib/ansible/modules/cloud/openstack/os_flavor_facts.py +++ b/lib/ansible/modules/cloud/openstack/os_flavor_facts.py @@ -29,7 +29,7 @@ notes: - This module creates a new top-level C(openstack_flavors) fact, which contains a list of unsorted flavors. requirements: - - "python >= 2.6" + - "python >= 2.7" - "openstacksdk" options: name: diff --git a/lib/ansible/modules/cloud/openstack/os_group.py b/lib/ansible/modules/cloud/openstack/os_group.py index 93478a72973..a7c42cb286e 100644 --- a/lib/ansible/modules/cloud/openstack/os_group.py +++ b/lib/ansible/modules/cloud/openstack/os_group.py @@ -42,7 +42,7 @@ options: description: - Ignored. Present for backwards compatibility requirements: - - "python >= 2.6" + - "python >= 2.7" - "openstacksdk" ''' diff --git a/lib/ansible/modules/cloud/openstack/os_image_facts.py b/lib/ansible/modules/cloud/openstack/os_image_facts.py index c452e3cd8c4..8da142e5d6d 100644 --- a/lib/ansible/modules/cloud/openstack/os_image_facts.py +++ b/lib/ansible/modules/cloud/openstack/os_image_facts.py @@ -22,7 +22,7 @@ description: notes: - Facts are placed in the C(openstack) variable. requirements: - - "python >= 2.6" + - "python >= 2.7" - "openstacksdk" options: image: diff --git a/lib/ansible/modules/cloud/openstack/os_keystone_domain.py b/lib/ansible/modules/cloud/openstack/os_keystone_domain.py index d890e14f566..aad82904935 100644 --- a/lib/ansible/modules/cloud/openstack/os_keystone_domain.py +++ b/lib/ansible/modules/cloud/openstack/os_keystone_domain.py @@ -46,7 +46,7 @@ options: description: - Ignored. Present for backwards compatibility requirements: - - "python >= 2.6" + - "python >= 2.7" - "openstacksdk" ''' diff --git a/lib/ansible/modules/cloud/openstack/os_keystone_domain_facts.py b/lib/ansible/modules/cloud/openstack/os_keystone_domain_facts.py index 473b52c340c..deb287e0704 100644 --- a/lib/ansible/modules/cloud/openstack/os_keystone_domain_facts.py +++ b/lib/ansible/modules/cloud/openstack/os_keystone_domain_facts.py @@ -21,7 +21,7 @@ author: "Ricardo Carrillo Cruz (@rcarrillocruz)" description: - Retrieve facts about a one or more OpenStack domains requirements: - - "python >= 2.6" + - "python >= 2.7" - "sdk" options: name: diff --git a/lib/ansible/modules/cloud/openstack/os_keystone_role.py b/lib/ansible/modules/cloud/openstack/os_keystone_role.py index 3340db7d30d..e56e78a0bc7 100644 --- a/lib/ansible/modules/cloud/openstack/os_keystone_role.py +++ b/lib/ansible/modules/cloud/openstack/os_keystone_role.py @@ -35,7 +35,7 @@ options: - Ignored. Present for backwards compatibility required: false requirements: - - "python >= 2.6" + - "python >= 2.7" - "openstacksdk" ''' diff --git a/lib/ansible/modules/cloud/openstack/os_keystone_service.py b/lib/ansible/modules/cloud/openstack/os_keystone_service.py index 0328559109c..5f9e8697055 100644 --- a/lib/ansible/modules/cloud/openstack/os_keystone_service.py +++ b/lib/ansible/modules/cloud/openstack/os_keystone_service.py @@ -48,7 +48,7 @@ options: description: - Ignored. Present for backwards compatibility requirements: - - "python >= 2.6" + - "python >= 2.7" - "openstacksdk" ''' diff --git a/lib/ansible/modules/cloud/openstack/os_networks_facts.py b/lib/ansible/modules/cloud/openstack/os_networks_facts.py index 3e76f320a9b..e16cfe37068 100644 --- a/lib/ansible/modules/cloud/openstack/os_networks_facts.py +++ b/lib/ansible/modules/cloud/openstack/os_networks_facts.py @@ -21,7 +21,7 @@ author: "Davide Agnello (@dagnello)" description: - Retrieve facts about one or more networks from OpenStack. requirements: - - "python >= 2.6" + - "python >= 2.7" - "sdk" options: name: diff --git a/lib/ansible/modules/cloud/openstack/os_nova_host_aggregate.py b/lib/ansible/modules/cloud/openstack/os_nova_host_aggregate.py index 9a3c2aacb5d..fd1a2b9847b 100644 --- a/lib/ansible/modules/cloud/openstack/os_nova_host_aggregate.py +++ b/lib/ansible/modules/cloud/openstack/os_nova_host_aggregate.py @@ -37,7 +37,7 @@ options: choices: [present, absent] default: present requirements: - - "python >= 2.6" + - "python >= 2.7" - "openstacksdk" ''' diff --git a/lib/ansible/modules/cloud/openstack/os_port_facts.py b/lib/ansible/modules/cloud/openstack/os_port_facts.py index a3d33bdd1bd..4d56cc4d320 100644 --- a/lib/ansible/modules/cloud/openstack/os_port_facts.py +++ b/lib/ansible/modules/cloud/openstack/os_port_facts.py @@ -22,7 +22,7 @@ description: notes: - Facts are placed in the C(openstack_ports) variable. requirements: - - "python >= 2.6" + - "python >= 2.7" - "openstacksdk" options: port: diff --git a/lib/ansible/modules/cloud/openstack/os_project.py b/lib/ansible/modules/cloud/openstack/os_project.py index fab4c41f2de..b0eead8ff31 100644 --- a/lib/ansible/modules/cloud/openstack/os_project.py +++ b/lib/ansible/modules/cloud/openstack/os_project.py @@ -50,7 +50,7 @@ options: description: - Ignored. Present for backwards compatibility requirements: - - "python >= 2.6" + - "python >= 2.7" - "openstacksdk" ''' diff --git a/lib/ansible/modules/cloud/openstack/os_project_facts.py b/lib/ansible/modules/cloud/openstack/os_project_facts.py index 20fbe5d74e8..8b6b05d7962 100644 --- a/lib/ansible/modules/cloud/openstack/os_project_facts.py +++ b/lib/ansible/modules/cloud/openstack/os_project_facts.py @@ -21,7 +21,7 @@ author: "Ricardo Carrillo Cruz (@rcarrillocruz)" description: - Retrieve facts about a one or more OpenStack projects requirements: - - "python >= 2.6" + - "python >= 2.7" - "openstacksdk" options: name: diff --git a/lib/ansible/modules/cloud/openstack/os_quota.py b/lib/ansible/modules/cloud/openstack/os_quota.py index fb196ee8ad1..f983bd5970e 100644 --- a/lib/ansible/modules/cloud/openstack/os_quota.py +++ b/lib/ansible/modules/cloud/openstack/os_quota.py @@ -105,7 +105,7 @@ options: requirements: - - "python >= 2.6" + - "python >= 2.7" - "openstacksdk >= 0.13.0" ''' diff --git a/lib/ansible/modules/cloud/openstack/os_recordset.py b/lib/ansible/modules/cloud/openstack/os_recordset.py index 4afcda742fd..9ae24c9b544 100644 --- a/lib/ansible/modules/cloud/openstack/os_recordset.py +++ b/lib/ansible/modules/cloud/openstack/os_recordset.py @@ -54,7 +54,7 @@ options: description: - Ignored. Present for backwards compatibility requirements: - - "python >= 2.6" + - "python >= 2.7" - "openstacksdk" ''' diff --git a/lib/ansible/modules/cloud/openstack/os_server.py b/lib/ansible/modules/cloud/openstack/os_server.py index 667e4acbc2f..1f2ca655fb2 100644 --- a/lib/ansible/modules/cloud/openstack/os_server.py +++ b/lib/ansible/modules/cloud/openstack/os_server.py @@ -166,7 +166,7 @@ options: description: - Availability zone in which to create the server. requirements: - - "python >= 2.6" + - "python >= 2.7" - "openstacksdk" ''' diff --git a/lib/ansible/modules/cloud/openstack/os_server_action.py b/lib/ansible/modules/cloud/openstack/os_server_action.py index a39474485a0..bcba1c5dcff 100644 --- a/lib/ansible/modules/cloud/openstack/os_server_action.py +++ b/lib/ansible/modules/cloud/openstack/os_server_action.py @@ -54,7 +54,7 @@ options: description: - Ignored. Present for backwards compatibility requirements: - - "python >= 2.6" + - "python >= 2.7" - "openstacksdk" ''' diff --git a/lib/ansible/modules/cloud/openstack/os_server_facts.py b/lib/ansible/modules/cloud/openstack/os_server_facts.py index 84d0d12424f..ee765963210 100644 --- a/lib/ansible/modules/cloud/openstack/os_server_facts.py +++ b/lib/ansible/modules/cloud/openstack/os_server_facts.py @@ -24,7 +24,7 @@ notes: - This module creates a new top-level C(openstack_servers) fact, which contains a list of servers. requirements: - - "python >= 2.6" + - "python >= 2.7" - "openstacksdk" options: server: diff --git a/lib/ansible/modules/cloud/openstack/os_server_group.py b/lib/ansible/modules/cloud/openstack/os_server_group.py index 7b27a6dce7d..1e5ebc3be01 100644 --- a/lib/ansible/modules/cloud/openstack/os_server_group.py +++ b/lib/ansible/modules/cloud/openstack/os_server_group.py @@ -45,7 +45,7 @@ options: - Ignored. Present for backwards compatibility required: false requirements: - - "python >= 2.6" + - "python >= 2.7" - "openstacksdk" ''' diff --git a/lib/ansible/modules/cloud/openstack/os_server_volume.py b/lib/ansible/modules/cloud/openstack/os_server_volume.py index ded0b5c9c3d..f49dd886c07 100644 --- a/lib/ansible/modules/cloud/openstack/os_server_volume.py +++ b/lib/ansible/modules/cloud/openstack/os_server_volume.py @@ -44,7 +44,7 @@ options: description: - Ignored. Present for backwards compatibility requirements: - - "python >= 2.6" + - "python >= 2.7" - "openstacksdk" ''' diff --git a/lib/ansible/modules/cloud/openstack/os_stack.py b/lib/ansible/modules/cloud/openstack/os_stack.py index 521eb72e97e..65cb25c2677 100644 --- a/lib/ansible/modules/cloud/openstack/os_stack.py +++ b/lib/ansible/modules/cloud/openstack/os_stack.py @@ -59,7 +59,7 @@ options: description: - Ignored. Present for backwards compatibility requirements: - - "python >= 2.6" + - "python >= 2.7" - "openstacksdk" ''' EXAMPLES = ''' diff --git a/lib/ansible/modules/cloud/openstack/os_subnet.py b/lib/ansible/modules/cloud/openstack/os_subnet.py index 45faf271c15..bcc8a128185 100644 --- a/lib/ansible/modules/cloud/openstack/os_subnet.py +++ b/lib/ansible/modules/cloud/openstack/os_subnet.py @@ -102,7 +102,7 @@ options: default: {} version_added: "2.7" requirements: - - "python >= 2.6" + - "python >= 2.7" - "openstacksdk" ''' diff --git a/lib/ansible/modules/cloud/openstack/os_subnets_facts.py b/lib/ansible/modules/cloud/openstack/os_subnets_facts.py index 8b0326742c9..e4518886a40 100644 --- a/lib/ansible/modules/cloud/openstack/os_subnets_facts.py +++ b/lib/ansible/modules/cloud/openstack/os_subnets_facts.py @@ -21,7 +21,7 @@ author: "Davide Agnello (@dagnello)" description: - Retrieve facts about one or more subnets from OpenStack. requirements: - - "python >= 2.6" + - "python >= 2.7" - "openstacksdk" options: subnet: diff --git a/lib/ansible/modules/cloud/openstack/os_user.py b/lib/ansible/modules/cloud/openstack/os_user.py index 6900cbe8b67..236f192f9c9 100644 --- a/lib/ansible/modules/cloud/openstack/os_user.py +++ b/lib/ansible/modules/cloud/openstack/os_user.py @@ -66,7 +66,7 @@ options: description: - Ignored. Present for backwards compatibility requirements: - - "python >= 2.6" + - "python >= 2.7" - "openstacksdk" ''' diff --git a/lib/ansible/modules/cloud/openstack/os_user_facts.py b/lib/ansible/modules/cloud/openstack/os_user_facts.py index fded761d87c..422544a1724 100644 --- a/lib/ansible/modules/cloud/openstack/os_user_facts.py +++ b/lib/ansible/modules/cloud/openstack/os_user_facts.py @@ -21,7 +21,7 @@ author: "Ricardo Carrillo Cruz (@rcarrillocruz)" description: - Retrieve facts about a one or more OpenStack users requirements: - - "python >= 2.6" + - "python >= 2.7" - "openstacksdk" options: name: diff --git a/lib/ansible/modules/cloud/openstack/os_user_group.py b/lib/ansible/modules/cloud/openstack/os_user_group.py index 1d9ebb55f8f..77373d4fe02 100644 --- a/lib/ansible/modules/cloud/openstack/os_user_group.py +++ b/lib/ansible/modules/cloud/openstack/os_user_group.py @@ -39,7 +39,7 @@ options: - Ignored. Present for backwards compatibility required: false requirements: - - "python >= 2.6" + - "python >= 2.7" - "openstacksdk" ''' diff --git a/lib/ansible/modules/cloud/openstack/os_user_role.py b/lib/ansible/modules/cloud/openstack/os_user_role.py index 58c89623616..e1b030dbdd5 100644 --- a/lib/ansible/modules/cloud/openstack/os_user_role.py +++ b/lib/ansible/modules/cloud/openstack/os_user_role.py @@ -52,7 +52,7 @@ options: description: - Ignored. Present for backwards compatibility requirements: - - "python >= 2.6" + - "python >= 2.7" - "openstacksdk" ''' diff --git a/lib/ansible/modules/cloud/openstack/os_volume.py b/lib/ansible/modules/cloud/openstack/os_volume.py index 743a4b5fd6d..c42ffb5e4f5 100644 --- a/lib/ansible/modules/cloud/openstack/os_volume.py +++ b/lib/ansible/modules/cloud/openstack/os_volume.py @@ -59,7 +59,7 @@ options: - Scheduler hints passed to volume API in form of dict version_added: "2.4" requirements: - - "python >= 2.6" + - "python >= 2.7" - "openstacksdk" ''' diff --git a/lib/ansible/modules/cloud/openstack/os_zone.py b/lib/ansible/modules/cloud/openstack/os_zone.py index d19ebaa202b..b7a917a3b83 100644 --- a/lib/ansible/modules/cloud/openstack/os_zone.py +++ b/lib/ansible/modules/cloud/openstack/os_zone.py @@ -52,7 +52,7 @@ options: description: - Ignored. Present for backwards compatibility requirements: - - "python >= 2.6" + - "python >= 2.7" - "openstacksdk" '''