Created
May 14, 2015 20:57
-
-
Save senorsmile/e657b919a9098d2e5baf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| playbook="./site.yml" | |
| hostsfile="./hosts" | |
| ## cd to directory of playbook | |
| cd ${0%/*} | |
| time ansible-playbook "$playbook" -i "${hostsfile}" "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment