Go back to using find with ansible-lint
ansible-lints ability to find ansible files is less than good. Go back to find - but leave the config in the .ansible-lint file since that does clean up the command invocation. While we're there - turn off quiet - let's be loud. Change-Id: Ie495e3d9ff1b82e84069e07c60c7217fc8399a1c
This commit is contained in:
parent
9e394d24d0
commit
2513a1b519
@ -1,5 +1,4 @@
|
||||
parseable: true
|
||||
quiet: true
|
||||
# ANSIBLE0010: Package installs should not use latest
|
||||
# We often deploy latest pip packages
|
||||
#
|
||||
|
2
tox.ini
2
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}
|
||||
|
Loading…
Reference in New Issue
Block a user