From 40fc1f8a2585d65f98e05fce2d9ddb557db189a0 Mon Sep 17 00:00:00 2001 From: Klaus Zerwes Date: Wed, 8 Dec 2021 13:52:13 +0100 Subject: [PATCH] issue #874 try to implement the testst for ansible 2.12 --- .ci/azure-pipelines.yml | 23 +++++++++++++++++++++++ tox.ini | 3 ++- 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/.ci/azure-pipelines.yml b/.ci/azure-pipelines.yml index 81ce05f2..3d29c796 100644 --- a/.ci/azure-pipelines.yml +++ b/.ci/azure-pipelines.yml @@ -59,6 +59,9 @@ jobs: Loc_27_4: python.version: '2.7' tox.env: py27-mode_localhost-ansible4 + Loc_27_5: + python.version: '2.7' + tox.env: py27-mode_localhost-ansible5 # NOTE: this hangs when ran in Ubuntu 18.04 Van_27_210: @@ -76,6 +79,11 @@ jobs: tox.env: py27-mode_localhost-ansible4 STRATEGY: linear ANSIBLE_SKIP_TAGS: resource_intensive + Van_27_5: + python.version: '2.7' + tox.env: py27-mode_localhost-ansible5 + STRATEGY: linear + ANSIBLE_SKIP_TAGS: resource_intensive - job: MacLatest # vanilla Ansible is really slow @@ -103,6 +111,8 @@ jobs: tox.env: py27-mode_localhost-ansible3 Loc_27_4: tox.env: py27-mode_localhost-ansible4 + Loc_27_5: + tox.env: py27-mode_localhost-ansible5 # NOTE: this hangs when ran in Ubuntu 18.04 Van_27_210: @@ -117,6 +127,10 @@ jobs: tox.env: py27-mode_localhost-ansible4 STRATEGY: linear ANSIBLE_SKIP_TAGS: resource_intensive + Van_27_5: + tox.env: py27-mode_localhost-ansible5 + STRATEGY: linear + ANSIBLE_SKIP_TAGS: resource_intensive - job: Linux pool: @@ -256,6 +270,9 @@ jobs: Ans_27_4: python.version: '2.7' tox.env: py27-mode_ansible-ansible4 + Ans_27_5: + python.version: '2.7' + tox.env: py27-mode_ansible-ansible5 Ans_36_210: python.version: '3.6' @@ -266,6 +283,9 @@ jobs: Ans_36_4: python.version: '3.6' tox.env: py36-mode_ansible-ansible4 + Ans_36_5: + python.version: '3.6' + tox.env: py36-mode_ansible-ansible5 Ans_39_210: python.version: '3.9' @@ -276,3 +296,6 @@ jobs: Ans_39_4: python.version: '3.9' tox.env: py39-mode_ansible-ansible4 + Ans_39_5: + python.version: '3.9' + tox.env: py39-mode_ansible-ansible5 diff --git a/tox.ini b/tox.ini index 6e51d7ed..1e31b9bf 100644 --- a/tox.ini +++ b/tox.ini @@ -35,7 +35,7 @@ [tox] envlist = init, - py{27,36,39}-mode_ansible-ansible{2.10,3,4}, + py{27,36,39}-mode_ansible-ansible{2.10,3,4,5}, py{27,36,39}-mode_mitogen-distro_centos{6,7,8}, py{27,36,39}-mode_mitogen-distro_debian{9,10,11}, py{27,36,39}-mode_mitogen-distro_ubuntu{1604,1804,2004}, @@ -64,6 +64,7 @@ deps = ansible3: ansible-base<2.10.14 ansible3: ansible==3.4.0 ansible4: ansible==4.8.0 + ansible4: ansible==5.0.1 install_command = python -m pip --no-python-version-warning install {opts} {packages} commands_pre =