Created
July 6, 2015 18:55
-
-
Save odyssey4me/4c40db99f361e2176345 to your computer and use it in GitHub Desktop.
when working with ansible <v2, use this to keep your sanity
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
# change into the root of your repo | |
# resurrect the ssh_retry plugin for your sanity | |
mkdir -p playbooks/plugins/connection_plugins/ | |
wget -O playbooks/plugins/connection_plugins/ssh_retry.py \ | |
https://raw.githubusercontent.com/stackforge/os-ansible-deployment/juno/rpc_deployment/plugins/connection_plugins/ssh_retry.py | |
sed -i '/lookup_plugins/a \ \ | |
# ssh_retry connection plugin \ | |
connection_plugins = plugins/connection_plugins \ | |
transport = ssh_retry' playbooks/ansible.cfg | |
# now you can execute your playbooks |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment