Stop running ansible-lint on playbooks

It can't handle the following form:

  shell:
    cmd: |
      something

Which is both valid and required.

Change-Id: I14896450b16f8e65128804b44a643da63580812d
This commit is contained in:
Monty Taylor 2017-09-28 14:38:29 -05:00
parent db09128dcb
commit bf16abfd7c
No known key found for this signature in database
GPG Key ID: 7BAE94BC7141A594

View File

@ -27,11 +27,6 @@ setenv =
whitelist_externals = bash
commands =
flake8 {posargs}
# Ansible Lint Check
# NOTE(pabelanger): Ignore the following checks:
# ANSIBlE0012: Commands should not change things if nothing needs doing
bash -c "cd playbooks; find . -type f -regex '.*.y[a]?ml' -not -path './legacy/*' -exec \
ansible-lint -x ANSIBLE0012 \{\} +"
# Ansible Syntax Check
bash -c "cd playbooks; find . -type f -regex '.*.y[a]?ml' -exec \
ansible-playbook --syntax-check -i {toxinidir}/tests/inventory \{\} + > /dev/null"