From 2544fc9aae35a0ef117a3c87ba67cbf41e96a86d Mon Sep 17 00:00:00 2001 From: Danielle Barda Date: Mon, 27 May 2024 15:19:34 +0300 Subject: [PATCH 1/2] Remove support for ansible-core 2.14 --- .github/workflows/sanity-tests.yaml | 1 - README.md | 4 ++-- changelogs/fragments/492-remove-support-ansible-2-14.yml | 2 ++ meta/runtime.yml | 2 +- tests/sanity/ignore-2.14.txt | 2 -- 5 files changed, 5 insertions(+), 6 deletions(-) create mode 100644 changelogs/fragments/492-remove-support-ansible-2-14.yml delete mode 100644 tests/sanity/ignore-2.14.txt diff --git a/.github/workflows/sanity-tests.yaml b/.github/workflows/sanity-tests.yaml index 3edb8772c..eedc06229 100644 --- a/.github/workflows/sanity-tests.yaml +++ b/.github/workflows/sanity-tests.yaml @@ -75,7 +75,6 @@ jobs: # Add new versions announced in # https://github.com/ansible-collections/news-for-maintainers in a timely manner, # consider dropping testing against EOL versions and versions you don't support. - - stable-2.14 - stable-2.15 - stable-2.16 # - devel diff --git a/README.md b/README.md index fe0f995c2..e02ff9164 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ The collection includes the VMware modules and plugins supported by Ansible VMwa ## Ansible version compatibility -This collection has been tested against following Ansible versions: **>=2.14.0**. +This collection has been tested against following Ansible versions: **>=2.15.0**. For collections that support Ansible 2.9, please ensure you update your `network_os` to use the fully qualified collection name (for example, `cisco.ios.ios`). @@ -19,7 +19,7 @@ PEP440 is the schema used to describe the versions of Ansible. ## Python version compatibility The collection depends on ``aiohttp`` has [requirement](https://docs.aiohttp.org/en/stable/) which requires Python 3.6 or greater. - Moreover, ansible version >=2.14 supports Python 3.9 or later. + Moreover, ansible version >=2.15 supports Python 3.9 or later. ## vSphere compatibility diff --git a/changelogs/fragments/492-remove-support-ansible-2-14.yml b/changelogs/fragments/492-remove-support-ansible-2-14.yml new file mode 100644 index 000000000..f2df8d063 --- /dev/null +++ b/changelogs/fragments/492-remove-support-ansible-2-14.yml @@ -0,0 +1,2 @@ +breaking_changes: + - Removing any support for ansible-core <=2.14 diff --git a/meta/runtime.yml b/meta/runtime.yml index ce6befd7b..1e85b01d0 100644 --- a/meta/runtime.yml +++ b/meta/runtime.yml @@ -1,2 +1,2 @@ --- -requires_ansible: ">=2.14.0" +requires_ansible: ">=2.15.0" diff --git a/tests/sanity/ignore-2.14.txt b/tests/sanity/ignore-2.14.txt deleted file mode 100644 index f55cc3e59..000000000 --- a/tests/sanity/ignore-2.14.txt +++ /dev/null @@ -1,2 +0,0 @@ -plugins/modules/vcenter_vm_guest_customization.py pep8!skip -plugins/modules/appliance_infraprofile_configs.py pep8!skip From 5f532e696023f8c8592e6a48dc53695dbeb6b7cb Mon Sep 17 00:00:00 2001 From: mikemorency Date: Mon, 12 Aug 2024 12:35:59 -0400 Subject: [PATCH 2/2] Update runtime.yml --- meta/runtime.yml | 134 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 134 insertions(+) diff --git a/meta/runtime.yml b/meta/runtime.yml index 1e85b01d0..5dc3eefb8 100644 --- a/meta/runtime.yml +++ b/meta/runtime.yml @@ -1,2 +1,136 @@ --- requires_ansible: ">=2.15.0" +action_groups: + vmware_rest: + - vcenter_cluster_info + - vcenter_datacenter_info + - vcenter_datacenter + - vcenter_datastore_info + - vcenter_folder_info + - vcenter_host_info + - vcenter_host + - vcenter_network_info + - vcenter_ovf_libraryitem + - vcenter_resourcepool_info + - vcenter_resourcepool + - vcenter_storage_policies_info + - vcenter_vm_info + - vcenter_vm + - vcenter_vmtemplate_libraryitems_info + - vcenter_vmtemplate_libraryitems + - vcenter_vm_guest_customization + - vcenter_vm_guest_filesystem_directories + - vcenter_vm_guest_identity_info + - vcenter_vm_guest_localfilesystem_info + - vcenter_vm_guest_networking_info + - vcenter_vm_guest_networking_interfaces_info + - vcenter_vm_guest_networking_routes_info + - vcenter_vm_guest_operations_info + - vcenter_vm_guest_power_info + - vcenter_vm_guest_power + - vcenter_vm_hardware_info + - vcenter_vm_hardware + - vcenter_vm_hardware_adapter_sata_info + - vcenter_vm_hardware_adapter_sata + - vcenter_vm_hardware_adapter_scsi_info + - vcenter_vm_hardware_adapter_scsi + - vcenter_vm_hardware_boot_info + - vcenter_vm_hardware_boot + - vcenter_vm_hardware_boot_device_info + - vcenter_vm_hardware_boot_device + - vcenter_vm_hardware_cdrom_info + - vcenter_vm_hardware_cdrom + - vcenter_vm_hardware_cpu_info + - vcenter_vm_hardware_cpu + - vcenter_vm_hardware_disk_info + - vcenter_vm_hardware_disk + - vcenter_vm_hardware_ethernet_info + - vcenter_vm_hardware_ethernet + - vcenter_vm_hardware_floppy_info + - vcenter_vm_hardware_floppy + - vcenter_vm_hardware_memory_info + - vcenter_vm_hardware_memory + - vcenter_vm_hardware_parallel_info + - vcenter_vm_hardware_parallel + - vcenter_vm_hardware_serial_info + - vcenter_vm_hardware_serial + - vcenter_vm_libraryitem_info + - vcenter_vm_power_info + - vcenter_vm_power + - vcenter_vm_storage_policy_info + - vcenter_vm_storage_policy + - vcenter_vm_storage_policy_compliance_info + - vcenter_vm_storage_policy_compliance + - vcenter_vm_tools_info + - vcenter_vm_tools + - vcenter_vm_tools_installer_info + - vcenter_vm_tools_installer + - content_configuration_info + - content_configuration + - content_library_item_info + - content_locallibrary_info + - content_locallibrary + - content_subscribedlibrary_info + - content_subscribedlibrary + - appliance_access_consolecli_info + - appliance_access_consolecli + - appliance_access_dcui_info + - appliance_access_dcui + - appliance_access_shell_info + - appliance_access_shell + - appliance_access_ssh_info + - appliance_access_ssh + - appliance_health_applmgmt_info + - appliance_health_database_info + - appliance_health_databasestorage_info + - appliance_health_load_info + - appliance_health_mem_info + - appliance_health_softwarepackages_info + - appliance_health_storage_info + - appliance_health_swap_info + - appliance_health_system_info + - appliance_infraprofile_configs_info + - appliance_infraprofile_configs + - appliance_localaccounts_info + - appliance_localaccounts_globalpolicy_info + - appliance_localaccounts_globalpolicy + - appliance_monitoring_info + - appliance_monitoring_query + - appliance_networking_info + - appliance_networking + - appliance_networking_dns_domains_info + - appliance_networking_dns_domains + - appliance_networking_dns_hostname_info + - appliance_networking_dns_hostname + - appliance_networking_dns_servers_info + - appliance_networking_dns_servers + - appliance_networking_firewall_inbound_info + - appliance_networking_firewall_inbound + - appliance_networking_interfaces_info + - appliance_networking_interfaces_ipv4_info + - appliance_networking_interfaces_ipv4 + - appliance_networking_interfaces_ipv6_info + - appliance_networking_interfaces_ipv6 + - appliance_networking_noproxy_info + - appliance_networking_noproxy + - appliance_networking_proxy_info + - appliance_networking_proxy + - appliance_ntp_info + - appliance_ntp + - appliance_services_info + - appliance_services + - appliance_shutdown_info + - appliance_shutdown + - appliance_system_globalfips_info + - appliance_system_globalfips + - appliance_system_storage_info + - appliance_system_storage + - appliance_system_time_info + - appliance_system_time_timezone_info + - appliance_system_time_timezone + - appliance_system_version_info + - appliance_timesync_info + - appliance_timesync + - appliance_update_info + - appliance_vmon_service_info + - appliance_vmon_service