Browse Source

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
changes/54/712554/2
Monty Taylor 3 weeks ago
parent
commit
2513a1b519
2 changed files with 1 additions and 2 deletions
  1. +0
    -1
      .ansible-lint
  2. +1
    -1
      tox.ini

+ 0
- 1
.ansible-lint View File

@@ -1,5 +1,4 @@
parseable: true
quiet: true
# ANSIBLE0010: Package installs should not use latest
# We often deploy latest pip packages
#


+ 1
- 1
tox.ini View File

@@ -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…
Cancel
Save