diff --git a/.azure-pipelines/azure-pipelines.yml b/.azure-pipelines/azure-pipelines.yml index 374cfe0236..43f7bdec1c 100644 --- a/.azure-pipelines/azure-pipelines.yml +++ b/.azure-pipelines/azure-pipelines.yml @@ -96,19 +96,6 @@ stages: - test: 2 - test: 3 - test: 4 - - stage: Sanity_2_17 - displayName: Sanity 2.17 - dependsOn: [] - jobs: - - template: templates/matrix.yml - parameters: - nameFormat: Test {0} - testFormat: 2.17/sanity/{0} - targets: - - test: 1 - - test: 2 - - test: 3 - - test: 4 ### Units - stage: Units_devel displayName: Units devel @@ -149,18 +136,6 @@ stages: - test: 3.8 - test: "3.11" - test: "3.13" - - stage: Units_2_17 - displayName: Units 2.17 - dependsOn: [] - jobs: - - template: templates/matrix.yml - parameters: - nameFormat: Python {0} - testFormat: 2.17/units/{0}/1 - targets: - - test: 3.7 - - test: "3.10" - - test: "3.12" ## Remote - stage: Remote_devel_extra_vms @@ -239,22 +214,6 @@ stages: - 1 - 2 - 3 - - stage: Remote_2_17 - displayName: Remote 2.17 - dependsOn: [] - jobs: - - template: templates/matrix.yml - parameters: - testFormat: 2.17/{0} - targets: - - name: FreeBSD 13.5 - test: freebsd/13.5 - - name: RHEL 9.3 - test: rhel/9.3 - groups: - - 1 - - 2 - - 3 ### Docker - stage: Docker_devel @@ -311,24 +270,6 @@ stages: - 1 - 2 - 3 - - stage: Docker_2_17 - displayName: Docker 2.17 - dependsOn: [] - jobs: - - template: templates/matrix.yml - parameters: - testFormat: 2.17/linux/{0} - targets: - - name: Fedora 39 - test: fedora39 - - name: Alpine 3.19 - test: alpine319 - - name: Ubuntu 20.04 - test: ubuntu2004 - groups: - - 1 - - 2 - - 3 ### Community Docker - stage: Docker_community_devel @@ -388,17 +329,6 @@ stages: # targets: # - test: '3.8' # - test: '3.13' -# - stage: Generic_2_17 -# displayName: Generic 2.17 -# dependsOn: [] -# jobs: -# - template: templates/matrix.yml -# parameters: -# nameFormat: Python {0} -# testFormat: 2.17/generic/{0}/1 -# targets: -# - test: '3.7' -# - test: '3.12' - stage: Summary condition: succeededOrFailed() @@ -406,25 +336,20 @@ stages: - Sanity_devel - Sanity_2_19 - Sanity_2_18 - - Sanity_2_17 - Units_devel - Units_2_19 - Units_2_18 - - Units_2_17 - Remote_devel_extra_vms - Remote_devel - Remote_2_19 - Remote_2_18 - - Remote_2_17 - Docker_devel - Docker_2_19 - Docker_2_18 - - Docker_2_17 - Docker_community_devel # Right now all generic tests are disabled. Uncomment when at least one of them is re-enabled. # - Generic_devel # - Generic_2_19 # - Generic_2_18 -# - Generic_2_17 jobs: - template: templates/coverage.yml diff --git a/.github/workflows/ansible-test.yml b/.github/workflows/ansible-test.yml index 89b36e6163..616c7a843c 100644 --- a/.github/workflows/ansible-test.yml +++ b/.github/workflows/ansible-test.yml @@ -29,7 +29,7 @@ jobs: strategy: matrix: ansible: - - '2.16' + - '2.17' runs-on: ubuntu-latest steps: - name: Perform sanity testing @@ -57,12 +57,12 @@ jobs: exclude: - ansible: '' include: - - ansible: '2.16' - python: '2.7' - - ansible: '2.16' - python: '3.6' - - ansible: '2.16' - python: '3.11' + - ansible: '2.17' + python: '3.7' + - ansible: '2.17' + python: '3.10' + - ansible: '2.17' + python: '3.12' steps: - name: >- @@ -98,56 +98,51 @@ jobs: exclude: - ansible: '' include: - # 2.16 - # CentOS 7 does not work in GHA, that's why it's not listed here. - - ansible: '2.16' - docker: fedora38 + # 2.17 + - ansible: '2.17' + docker: fedora39 python: '' target: azp/posix/1/ - - ansible: '2.16' - docker: fedora38 + - ansible: '2.17' + docker: fedora39 python: '' target: azp/posix/2/ - - ansible: '2.16' - docker: fedora38 + - ansible: '2.17' + docker: fedora39 python: '' target: azp/posix/3/ - - ansible: '2.16' - docker: opensuse15 + - ansible: '2.17' + docker: ubuntu2004 python: '' target: azp/posix/1/ - - ansible: '2.16' - docker: opensuse15 + - ansible: '2.17' + docker: ubuntu2004 python: '' target: azp/posix/2/ - - ansible: '2.16' - docker: opensuse15 + - ansible: '2.17' + docker: ubuntu2004 python: '' target: azp/posix/3/ - - ansible: '2.16' - docker: alpine3 + - ansible: '2.17' + docker: alpine319 python: '' target: azp/posix/1/ - - ansible: '2.16' - docker: alpine3 + - ansible: '2.17' + docker: alpine319 python: '' target: azp/posix/2/ - - ansible: '2.16' - docker: alpine3 + - ansible: '2.17' + docker: alpine319 python: '' target: azp/posix/3/ # Right now all generic tests are disabled. Uncomment when at least one of them is re-enabled. - # - ansible: '2.16' + # - ansible: '2.17' # docker: default - # python: '2.7' + # python: '3.7' # target: azp/generic/1/ - # - ansible: '2.16' + # - ansible: '2.17' # docker: default - # python: '3.6' - # target: azp/generic/1/ - # - ansible: '2.16' - # docker: default - # python: '3.11' + # python: '3.12' # target: azp/generic/1/ steps: diff --git a/README.md b/README.md index dbfc8c0f07..ef3ac2e6bd 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ For more information about communication, see the [Ansible communication guide]( ## Tested with Ansible -Tested with the current ansible-core 2.16, ansible-core 2.17, ansible-core 2.18, ansible-core 2.19 releases and the current development version of ansible-core. Ansible-core versions before 2.16.0 are not supported. This includes all ansible-base 2.10 and Ansible 2.9 releases. +Tested with the current ansible-core 2.17, ansible-core 2.18, ansible-core 2.19 releases and the current development version of ansible-core. Ansible-core versions before 2.17.0 are not supported. This includes all ansible-base 2.10 and Ansible 2.9 releases. ## External requirements diff --git a/changelogs/fragments/ansible-core-2.16.yml b/changelogs/fragments/ansible-core-2.16.yml new file mode 100644 index 0000000000..1132d20e3e --- /dev/null +++ b/changelogs/fragments/ansible-core-2.16.yml @@ -0,0 +1,2 @@ +removed_features: + - "Ansible-core 2.16 is no longer supported. This also means that the collection now requires Python 3.7+ (https://github.com/ansible-collections/community.general/pull/10884)." diff --git a/meta/runtime.yml b/meta/runtime.yml index a3f993cc4e..d2be5a89c1 100644 --- a/meta/runtime.yml +++ b/meta/runtime.yml @@ -3,7 +3,7 @@ # GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt) # SPDX-License-Identifier: GPL-3.0-or-later -requires_ansible: '>=2.16.0' +requires_ansible: '>=2.17.0' action_groups: consul: - consul_agent_check diff --git a/tests/sanity/ignore-2.16.txt b/tests/sanity/ignore-2.16.txt deleted file mode 100644 index 446211c396..0000000000 --- a/tests/sanity/ignore-2.16.txt +++ /dev/null @@ -1,24 +0,0 @@ -plugins/callback/tasks_only.py yamllint:unparsable-with-libyaml -plugins/connection/wsl.py yamllint:unparsable-with-libyaml -plugins/inventory/gitlab_runners.py yamllint:unparsable-with-libyaml -plugins/inventory/iocage.py yamllint:unparsable-with-libyaml -plugins/inventory/linode.py yamllint:unparsable-with-libyaml -plugins/inventory/lxd.py yamllint:unparsable-with-libyaml -plugins/inventory/nmap.py yamllint:unparsable-with-libyaml -plugins/inventory/scaleway.py yamllint:unparsable-with-libyaml -plugins/inventory/virtualbox.py yamllint:unparsable-with-libyaml -plugins/lookup/binary_file.py validate-modules:invalid-documentation -plugins/lookup/dependent.py validate-modules:unidiomatic-typecheck -plugins/modules/consul_session.py validate-modules:parameter-state-invalid-choice -plugins/modules/homectl.py import-3.11 # Uses deprecated stdlib library 'crypt' -plugins/modules/homectl.py import-3.12 # Uses deprecated stdlib library 'crypt' -plugins/modules/iptables_state.py validate-modules:undocumented-parameter # params _back and _timeout used by action plugin -plugins/modules/lxc_container.py validate-modules:use-run-command-not-popen -plugins/modules/osx_defaults.py validate-modules:parameter-state-invalid-choice -plugins/modules/parted.py validate-modules:parameter-state-invalid-choice -plugins/modules/rhevm.py validate-modules:parameter-state-invalid-choice -plugins/modules/udm_user.py import-3.11 # Uses deprecated stdlib library 'crypt' -plugins/modules/udm_user.py import-3.12 # Uses deprecated stdlib library 'crypt' -plugins/modules/xfconf.py validate-modules:return-syntax-error -plugins/test/ansible_type.py yamllint:unparsable-with-libyaml -tests/unit/plugins/modules/test_gio_mime.yaml no-smart-quotes diff --git a/tests/sanity/ignore-2.16.txt.license b/tests/sanity/ignore-2.16.txt.license deleted file mode 100644 index edff8c7685..0000000000 --- a/tests/sanity/ignore-2.16.txt.license +++ /dev/null @@ -1,3 +0,0 @@ -GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt) -SPDX-License-Identifier: GPL-3.0-or-later -SPDX-FileCopyrightText: Ansible Project