Run ansible-list on all playbooks simultaneously
Change-Id: I009f8bf0b66d49e78cd60f95decccf089ef46784
This commit is contained in:
parent
1f1ef0aba8
commit
94833e22d2
2
tox.ini
2
tox.ini
@ -30,7 +30,7 @@ commands =
|
||||
# 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/*' -print0 | xargs -t -n1 -0 \
|
||||
bash -c "cd playbooks; find . -type f -regex '.*.y[a]?ml' -not -path './legacy/*' -print0 | xargs -t -0 \
|
||||
ansible-lint -x ANSIBLE0012"
|
||||
# Ansible Syntax Check
|
||||
bash -c "cd playbooks; find . -type f -regex '.*.y[a]?ml' -print0 | xargs -t -0 \
|
||||
|
Loading…
Reference in New Issue
Block a user