![]() EXEC ssh -C -tt -vvv -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/Users/danielbell/.ansible/cp/ansible-ssh-%h-%p-%r" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=web -o ConnectTimeout=10 45.55.241.241 /bin/sh -c 'LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/web/.ansible/tmp/ansible-tmp-1429835245.16-120691099126435/git rm -rf /home/web/.ansible/tmp/ansible-tmp-1429835245. ![]() If you need to provide a password for privilege escalation (sudo, pbrun, and so on), use -ask-become-pass. SSH keys are encouraged, but you can use password authentication if needed with the -ask-pass option. ![]() EXEC ssh -C -tt -vvv -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/Users/danielbell/.ansible/cp/ansible-ssh-%h-%p-%r" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=web -o ConnectTimeout=10 45.55.241.241 /bin/sh -c ‘mkdir -p $HOME/.ansible/tmp/ansible-tmp-1429835245.16-120691099126435 & chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1429835245.16-120691099126435 & echo $HOME/.ansible/tmp/ansible-tmp-1429835245.16-120691099126435’ By default, Ansible assumes you are using SSH keys to connect to remote machines. REMOTE_MODULE git repo= dest="/srv/www//shared/source" version=“master” accept_hostkey=yes
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |