Created
August 19, 2015 03:45
-
-
Save rsvalerio/45c5e1403a6e81fdff1d to your computer and use it in GitHub Desktop.
Shortcut to run playbooks wihtout the need of -i 'localhost,'
This file contains 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
#!/bin/bash | |
ansible-playbook "$1" -i 'localhost,' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Create a synlink in /usr/local/bin to this file then:
Example local-playbook.yml: