Loading ansible-pre-commit +2 −4 Original line number Diff line number Diff line #!/bin/sh -e export ANSIBLE_ROLES_PATH=../:./roles/:.molecule/roles/:/etc/ansible/roles/ for playbook in $@ do ANSIBLE_ROLES_PATH=../ ansible-playbook \ --inventory=localhost, \ --syntax-check "$playbook" ansible-playbook --inventory=localhost, --syntax-check "$playbook" done Loading
ansible-pre-commit +2 −4 Original line number Diff line number Diff line #!/bin/sh -e export ANSIBLE_ROLES_PATH=../:./roles/:.molecule/roles/:/etc/ansible/roles/ for playbook in $@ do ANSIBLE_ROLES_PATH=../ ansible-playbook \ --inventory=localhost, \ --syntax-check "$playbook" ansible-playbook --inventory=localhost, --syntax-check "$playbook" done