diff --git a/templates/tox.ini.j2 b/templates/tox.ini.j2 index 631cebb..0c4c984 100644 --- a/templates/tox.ini.j2 +++ b/templates/tox.ini.j2 @@ -1,10 +1,10 @@ {{ ansible_managed | comment }} [tox] minversion = 3.21.4 -{% if tox_versions is defined %} -envlist = py{310}-ansible-{% raw %}{{% endraw %}{% for version in tox_versions %}{{ version }}{% if not loop.last %},{% endif %}{% endfor %}{% raw %}}{% endraw %} +{% if tox_ansible_versions is defined %} +envlist = py{310}-ansible-{% raw %}{{% endraw %}{% for version in tox_ansible_versions %}{{ version }}{% if not loop.last %},{% endif %}{% endfor %}{% raw %}}{% endraw %} {% else %} -envlist = py{310}-ansible-{4,5} +envlist = py{310}-ansible-{4,5,6} {% endif %} skipsdist = true @@ -13,6 +13,7 @@ skipsdist = true deps = 4: ansible == 4.* 5: ansible == 5.* + 6: ansible == 6.* molecule[docker] docker == 5.* ansible-lint == 5.*