|
|
|
@ -26,6 +26,7 @@
|
|
|
|
|
# ansible == 3.* ansible-base ~= 2.10.0
|
|
|
|
|
# ansible == 4.* ansible-core ~= 2.11.0
|
|
|
|
|
# ansible == 5.* ansible-core ~= 2.12.0
|
|
|
|
|
# ansible == 6.* ansible-core ~= 2.13.0
|
|
|
|
|
|
|
|
|
|
# pip --no-python-version-warning
|
|
|
|
|
# pip --disable-pip-version-check
|
|
|
|
@ -36,7 +37,7 @@
|
|
|
|
|
envlist =
|
|
|
|
|
init,
|
|
|
|
|
py{27,36}-mode_ansible-ansible{2.10,3,4},
|
|
|
|
|
py{310}-mode_ansible-ansible{2.10,3,4,5},
|
|
|
|
|
py{310}-mode_ansible-ansible{2.10,3,4,5,6},
|
|
|
|
|
py{27,36,310}-mode_mitogen-distro_centos{6,7,8},
|
|
|
|
|
py{27,36,310}-mode_mitogen-distro_debian{9,10,11},
|
|
|
|
|
py{27,36,310}-mode_mitogen-distro_ubuntu{1604,1804,2004},
|
|
|
|
@ -57,16 +58,11 @@ basepython =
|
|
|
|
|
deps =
|
|
|
|
|
-r{toxinidir}/tests/requirements.txt
|
|
|
|
|
mode_ansible: -r{toxinidir}/tests/ansible/requirements.txt
|
|
|
|
|
ansible2.3: ansible==2.3.3.0
|
|
|
|
|
ansible2.4: ansible==2.4.6.0
|
|
|
|
|
ansible2.8: ansible==2.8.3
|
|
|
|
|
ansible2.9: ansible==2.9.6
|
|
|
|
|
ansible2.10: ansible-base<2.10.14
|
|
|
|
|
ansible2.10: ansible==2.10.0
|
|
|
|
|
ansible3: ansible-base<2.10.14
|
|
|
|
|
ansible2.10: ansible==2.10.7
|
|
|
|
|
ansible3: ansible==3.4.0
|
|
|
|
|
ansible4: ansible==4.8.0
|
|
|
|
|
ansible5: ansible==5.0.1
|
|
|
|
|
ansible4: ansible==4.10.0
|
|
|
|
|
ansible5: ansible==5.8.0
|
|
|
|
|
ansible6: ansible==6.0.0
|
|
|
|
|
install_command =
|
|
|
|
|
python -m pip --no-python-version-warning --disable-pip-version-check install {opts} {packages}
|
|
|
|
|
commands_pre =
|
|
|
|
@ -103,6 +99,8 @@ setenv =
|
|
|
|
|
distro_ubuntu1804: DISTRO=ubuntu1804
|
|
|
|
|
distro_ubuntu2004: DISTRO=ubuntu2004
|
|
|
|
|
# Note the plural, only applicable to MODE=ansible
|
|
|
|
|
# Ansible 6 (ansible-core 2.13) requires Python >= 2.7 or >= 3.5 on targets
|
|
|
|
|
ansible6: DISTROS=centos7 centos8 debian9 debian10 debian11 ubuntu1604 ubuntu1804 ubuntu2004
|
|
|
|
|
distros_centos: DISTROS=centos6 centos7 centos8
|
|
|
|
|
distros_centos5: DISTROS=centos5
|
|
|
|
|
distros_centos6: DISTROS=centos6
|
|
|
|
|