From 133672663dee967823ee6dd69b22e7223254527f Mon Sep 17 00:00:00 2001 From: Sergei Petrosian Date: Fri, 6 Aug 2021 12:43:10 +0200 Subject: [PATCH] Drop support for Ansible 2.8 by bumping the Ansible version to 2.9 Bug 1989197 - drop support for Ansible 2.8 https://bugzilla.redhat.com/show_bug.cgi?id=1989197 Signed-off-by: Sergei Petrosian --- .github/workflows/tox.yml | 2 +- ansible_pytest_extra_requirements.txt | 1 - meta/main.yml | 2 +- pytest_extra_requirements.txt | 1 - 4 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index 269919d..55ca6db 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -6,7 +6,7 @@ on: # yamllint disable-line rule:truthy env: TOX_LSR: "git+https://github.com/linux-system-roles/tox-lsr@2.4.0" LSR_ANSIBLE_TEST_DOCKER: "true" - LSR_ANSIBLES: 'ansible==2.8.* ansible==2.9.*' + LSR_ANSIBLES: 'ansible==2.9.*' LSR_MSCENARIOS: default # LSR_EXTRA_PACKAGES: "libdbus-1-dev libgirepository1.0-dev python3-dev" GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/ansible_pytest_extra_requirements.txt b/ansible_pytest_extra_requirements.txt index 0d79ed5..6bafb6f 100644 --- a/ansible_pytest_extra_requirements.txt +++ b/ansible_pytest_extra_requirements.txt @@ -2,6 +2,5 @@ # ansible and dependencies for all supported platforms ansible ; python_version > "2.6" -ansible<2.7 ; python_version < "2.7" idna<2.8 ; python_version < "2.7" PyYAML<5.1 ; python_version < "2.7" diff --git a/meta/main.yml b/meta/main.yml index a8636c2..dd00df4 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -5,7 +5,7 @@ galaxy_info: description: Configure networking company: Red Hat, Inc. license: BSD-3-Clause - min_ansible_version: 2.7 + min_ansible_version: 2.9 github_branch: main galaxy_tags: - centos diff --git a/pytest_extra_requirements.txt b/pytest_extra_requirements.txt index 9e2d328..bb374a6 100644 --- a/pytest_extra_requirements.txt +++ b/pytest_extra_requirements.txt @@ -7,6 +7,5 @@ mock ; python_version < "3.0" # ansible and dependencies for all supported platforms ansible ; python_version > "2.6" -ansible<2.7 ; python_version < "2.7" idna<2.8 ; python_version < "2.7" PyYAML<5.1 ; python_version < "2.7"