]>
git.immae.eu Git - github/fretlink/docker-ansible.git/blob - centos7-onbuild/ansible-playbook-wrapper
3 # Simple wrapper for executing ansible-playbook with local connection.
6 # ansible-playbook-wrapper [other ansible-playbook arguments]
8 # ENVIRONMENT VARIABLES:
10 # - PLAYBOOK: playbook filename; default = "playbook.yml"
11 # - INVENTORY: inventory filename; default = "/etc/ansible/hosts"
15 if [ -z "$PLAYBOOK" ]; then
20 if [ -z "$INVENTORY" ]; then
21 exec ansible
-playbook \
26 exec ansible
-playbook \
27 -i $INVENTORY $PLAYBOOK \