Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- me$ ansible-playbook --ask-pass -u root site.yml -i prod
- SSH password:
- PLAY [app] ***********************************************************************************************************
- TASK [Gathering Facts] ***********************************************************************************************
- paramiko: The authenticity of host '1.2.3.4' can't be established.
- The ssh-rsa key fingerprint is abc23.
- Are you sure you want to continue connecting (yes/no)?
- no
- fatal: [1.2.3.4]: UNREACHABLE! => {"changed": false, "msg": "host connection rejected by user", "unreachable": true}
- to retry, use: --limit @/Users/me/dev/linode/dply2/site.retry
- PLAY RECAP ***********************************************************************************************************
- 1.2.3.4 : ok=0 changed=0 unreachable=1 failed=0
- me$ ansible-playbook --ask-pass -u root site.yml -i prod -vvv
- ansible-playbook 2.4.2.0
- config file = None
- configured module search path = [u'/Users/me/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
- ansible python module location = /usr/local/Cellar/ansible/2.4.2.0/libexec/lib/python2.7/site-packages/ansible
- executable location = /usr/local/bin/ansible-playbook
- python version = 2.7.14 (default, Sep 25 2017, 09:54:19) [GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.37)]
- No config file found; using defaults
- SSH password:
- Parsed /Users/me/dev/linode/dply2/prod inventory source with ini plugin
- PLAYBOOK: site.yml ***************************************************************************************************
- 1 plays in site.yml
- PLAY [app] ***********************************************************************************************************
- TASK [Gathering Facts] ***********************************************************************************************
- Using module file /usr/local/Cellar/ansible/2.4.2.0/libexec/lib/python2.7/site-packages/ansible/modules/system/setup.py
- <45.79.83.15> ESTABLISH CONNECTION FOR USER: root on PORT 22 TO 45.79.83.15
- <45.79.83.15> EXEC /bin/sh -c 'echo ~ && sleep 0'
- <45.79.83.15> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1512615293.4-175922602963114 `" && echo ansible-tmp-1512615293.4-175922602963114="` echo /root/.ansible/tmp/ansible-tmp-1512615293.4-175922602963114 `" ) && sleep 0'
- <45.79.83.15> PUT /var/folders/q1/l8vz6n8d18q6f8y92btl32lm0000gn/T/tmpts6SLc TO /root/.ansible/tmp/ansible-tmp-1512615293.4-175922602963114/setup.py
- <45.79.83.15> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1512615293.4-175922602963114/ /root/.ansible/tmp/ansible-tmp-1512615293.4-175922602963114/setup.py && sleep 0'
- <45.79.83.15> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1512615293.4-175922602963114/setup.py; rm -rf "/root/.ansible/tmp/ansible-tmp-1512615293.4-175922602963114/" > /dev/null 2>&1 && sleep 0'
- ok: [45.79.83.15]
- META: ran handlers
- META: ran handlers
- META: ran handlers
- PLAY RECAP ***********************************************************************************************************
- 45.79.83.15 : ok=1 changed=0 unreachable=0 failed=0
- me$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement