Merge "Run ansible-list on all playbooks simultaneously"
This commit is contained in:
commit
6e7b44ea84
2
tox.ini
2
tox.ini
@ -30,7 +30,7 @@ commands =
|
|||||||
# Ansible Lint Check
|
# Ansible Lint Check
|
||||||
# NOTE(pabelanger): Ignore the following checks:
|
# NOTE(pabelanger): Ignore the following checks:
|
||||||
# ANSIBlE0012: Commands should not change things if nothing needs doing
|
# 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-lint -x ANSIBLE0012"
|
||||||
# Ansible Syntax Check
|
# Ansible Syntax Check
|
||||||
bash -c "cd playbooks; find . -type f -regex '.*.y[a]?ml' -print0 | xargs -t -0 \
|
bash -c "cd playbooks; find . -type f -regex '.*.y[a]?ml' -print0 | xargs -t -0 \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user