diff --git a/.ansible-lint b/.ansible-lint index f12cbf4a38..61a658373b 100644 --- a/.ansible-lint +++ b/.ansible-lint @@ -1,5 +1,4 @@ parseable: true -quiet: true # ANSIBLE0010: Package installs should not use latest # We often deploy latest pip packages # diff --git a/tox.ini b/tox.ini index bfd7bbecf6..4f4e5c83e0 100644 --- a/tox.ini +++ b/tox.ini @@ -23,7 +23,7 @@ commands = # parses, but doesn't do anything. bash -c "ANSIBLE_INVENTORY_PLUGINS=./playbooks/roles/install-ansible/files/inventory_plugins ansible -i ./inventory/openstack.yaml not_a_host -a 'true'" python3 -m unittest playbooks/roles/install-ansible/files/inventory_plugins/test_yamlgroup.py - ansible-lint playbooks roles + bash -c "find roles playbooks -type f -regex '.*.y[a]?ml' -print0 | xargs -t -n1 -0 ansible-lint" [testenv:venv] commands = {posargs}