From ba932115fbedcb693b7faae7e209c5bf9586acc7 Mon Sep 17 00:00:00 2001 From: Rich Megginson Date: Tue, 19 Jan 2021 20:38:03 -0700 Subject: [PATCH] remove ansible 2.7 support from molecule ansible 2.7 has been deprecated https://docs.ansible.com/ansible/devel/reference_appendices/release_and_maintenance.html We need to remove ansible 2.7 from molecule testing in order to * make room for ansible 2.10 testing * move to molecule v3 ansible 2.8 and later support platform-python on el8 and later so we don't have to handle that case explicitly by setting ansible_python_interpreter for centos8 in molecule.yml Signed-off-by: Rich Megginson --- .github/workflows/tox.yml | 2 +- molecule/default/molecule.yml | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index f52ec98..bb926cc 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -4,7 +4,7 @@ on: # yamllint disable-line rule:truthy - pull_request env: TOX_LSR: "git+https://github.com/linux-system-roles/tox-lsr@1.0.2" - LSR_ANSIBLES: 'ansible==2.7.* ansible==2.8.* ansible==2.9.*' + LSR_ANSIBLES: 'ansible==2.8.* 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/molecule/default/molecule.yml b/molecule/default/molecule.yml index 4d1f128..718bd12 100644 --- a/molecule/default/molecule.yml +++ b/molecule/default/molecule.yml @@ -25,8 +25,6 @@ platforms: - /sys/fs/cgroup:/sys/fs/cgroup:ro privileged: true command: /usr/lib/systemd/systemd --system - groups: - - py3 provisioner: name: ansible log: true @@ -34,10 +32,6 @@ provisioner: enabled: false playbooks: converge: ../../tests/tests_default.yml - inventory: - group_vars: - py3: - ansible_python_interpreter: /usr/bin/python3 scenario: name: default test_sequence: