Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TASK [lci : Copy binaries] *********************************************************************************************************************************
- task path: /mnt/hdd/src/ws2/scripts/roles/lci/tasks/main.yml:11
- <192.168.0.28> ESTABLISH SSH CONNECTION FOR USER: root
- <192.168.0.28> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/88043e7a85 192.168.0.28 '/bin/sh -c '"'"'echo ~root && sleep 0'"'"''
- <192.168.0.28> (0, '/home/root\n', '')
- <192.168.0.28> ESTABLISH SSH CONNECTION FOR USER: root
- <192.168.0.28> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/88043e7a85 192.168.0.28 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /home/root/.ansible/tmp/ansible-tmp-1544571061.12-102651612327115 `" && echo ansible-tmp-1544571061.12-102651612327115="` echo /home/root/.ansible/tmp/ansible-tmp-1544571061.12-102651612327115 `" ) && sleep 0'"'"''
- <192.168.0.28> (0, 'ansible-tmp-1544571061.12-102651612327115=/home/root/.ansible/tmp/ansible-tmp-1544571061.12-102651612327115\n', '')
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/files/stat.py
- <192.168.0.28> PUT /root/.ansible/tmp/ansible-local-26243iG8SkW/tmpSJRTIh TO /home/root/.ansible/tmp/ansible-tmp-1544571061.12-102651612327115/AnsiballZ_stat.py
- <192.168.0.28> SSH: EXEC sftp -b - -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/88043e7a85 '[192.168.0.28]'
- <192.168.0.28> (0, 'sftp> put /root/.ansible/tmp/ansible-local-26243iG8SkW/tmpSJRTIh /home/root/.ansible/tmp/ansible-tmp-1544571061.12-102651612327115/AnsiballZ_stat.py\n', '')
- <192.168.0.28> ESTABLISH SSH CONNECTION FOR USER: root
- <192.168.0.28> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/88043e7a85 192.168.0.28 '/bin/sh -c '"'"'chmod u+x /home/root/.ansible/tmp/ansible-tmp-1544571061.12-102651612327115/ /home/root/.ansible/tmp/ansible-tmp-1544571061.12-102651612327115/AnsiballZ_stat.py && sleep 0'"'"''
- <192.168.0.28> (0, '', '')
- <192.168.0.28> ESTABLISH SSH CONNECTION FOR USER: root
- <192.168.0.28> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/88043e7a85 -tt 192.168.0.28 '/bin/sh -c '"'"'/usr/bin/python /home/root/.ansible/tmp/ansible-tmp-1544571061.12-102651612327115/AnsiballZ_stat.py && sleep 0'"'"''
- <192.168.0.28> (0, '\r\n{"invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "follow": false, "checksum_algo": "sha1", "path": "/usr/local/bin", "get_md5": null, "get_mime": true, "get_attributes": true}}, "stat": {"exists": false}, "changed": false}\r\n', 'Shared connection to 192.168.0.28 closed.\r\n')
- <192.168.0.28> PUT /mnt/hdd/src/ws2/src/lci/bin/lci TO /home/root/.ansible/tmp/ansible-tmp-1544571061.12-102651612327115/source
- <192.168.0.28> SSH: EXEC sftp -b - -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/88043e7a85 '[192.168.0.28]'
- <192.168.0.28> (0, 'sftp> put /mnt/hdd/src/ws2/src/lci/bin/lci /home/root/.ansible/tmp/ansible-tmp-1544571061.12-102651612327115/source\n', '')
- <192.168.0.28> ESTABLISH SSH CONNECTION FOR USER: root
- <192.168.0.28> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/88043e7a85 192.168.0.28 '/bin/sh -c '"'"'chmod u+x /home/root/.ansible/tmp/ansible-tmp-1544571061.12-102651612327115/ /home/root/.ansible/tmp/ansible-tmp-1544571061.12-102651612327115/source && sleep 0'"'"''
- <192.168.0.28> (0, '', '')
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/files/copy.py
- <192.168.0.28> PUT /root/.ansible/tmp/ansible-local-26243iG8SkW/tmpvVC1Wt TO /home/root/.ansible/tmp/ansible-tmp-1544571061.12-102651612327115/AnsiballZ_copy.py
- <192.168.0.28> SSH: EXEC sftp -b - -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/88043e7a85 '[192.168.0.28]'
- <192.168.0.28> (0, 'sftp> put /root/.ansible/tmp/ansible-local-26243iG8SkW/tmpvVC1Wt /home/root/.ansible/tmp/ansible-tmp-1544571061.12-102651612327115/AnsiballZ_copy.py\n', '')
- <192.168.0.28> ESTABLISH SSH CONNECTION FOR USER: root
- <192.168.0.28> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/88043e7a85 192.168.0.28 '/bin/sh -c '"'"'chmod u+x /home/root/.ansible/tmp/ansible-tmp-1544571061.12-102651612327115/ /home/root/.ansible/tmp/ansible-tmp-1544571061.12-102651612327115/AnsiballZ_copy.py && sleep 0'"'"''
- <192.168.0.28> (0, '', '')
- <192.168.0.28> ESTABLISH SSH CONNECTION FOR USER: root
- <192.168.0.28> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/88043e7a85 -tt 192.168.0.28 '/bin/sh -c '"'"'/usr/bin/python /home/root/.ansible/tmp/ansible-tmp-1544571061.12-102651612327115/AnsiballZ_copy.py && sleep 0'"'"''
- <192.168.0.28> (1, '\r\n{"msg": "Destination directory /usr/local does not exist", "failed": true, "exception": "WARNING: The below traceback may *not* be related to the actual failure.\\n File \\"/tmp/ansible_copy_payload_vGJxBW/__main__.py\\", line 393, in main\\n os.stat(os.path.dirname(b_dest))\\n", "invocation": {"module_args": {"directory_mode": null, "force": true, "remote_src": null, "_original_basename": "lci", "owner": null, "follow": false, "local_follow": null, "group": null, "unsafe_writes": null, "setype": null, "content": null, "serole": null, "dest": "/usr/local/bin", "selevel": null, "regexp": null, "validate": null, "src": "/home/root/.ansible/tmp/ansible-tmp-1544571061.12-102651612327115/source", "checksum": "91b48aee4127def1c7ba2f395fd1784903e96ebd", "seuser": null, "delimiter": null, "mode": 493, "attributes": null, "backup": false}}}\r\n', 'Shared connection to 192.168.0.28 closed.\r\n')
- The full traceback is:
- WARNING: The below traceback may *not* be related to the actual failure.
- File "/tmp/ansible_copy_payload_vGJxBW/__main__.py", line 393, in main
- os.stat(os.path.dirname(b_dest))
- fatal: [192.168.0.28]: FAILED! => {
- "changed": false,
- "checksum": "91b48aee4127def1c7ba2f395fd1784903e96ebd",
- "diff": [],
- "invocation": {
- "module_args": {
- "_original_basename": "lci",
- "attributes": null,
- "backup": false,
- "checksum": "91b48aee4127def1c7ba2f395fd1784903e96ebd",
- "content": null,
- "delimiter": null,
- "dest": "/usr/local/bin",
- "directory_mode": null,
- "follow": false,
- "force": true,
- "group": null,
- "local_follow": null,
- "mode": 493,
- "owner": null,
- "regexp": null,
- "remote_src": null,
- "selevel": null,
- "serole": null,
- "setype": null,
- "seuser": null,
- "src": "/home/root/.ansible/tmp/ansible-tmp-1544571061.12-102651612327115/source",
- "unsafe_writes": null,
- "validate": null
- }
- },
- "msg": "Destination directory /usr/local does not exist"
- }
- to retry, use: --limit @/mnt/hdd/src/ws2/scripts/deploy.retry
- PLAY RECAP *************************************************************************************************************************************************
- 127.0.0.1 : ok=17 changed=16 unreachable=0 failed=0
- 192.168.0.28 : ok=3 changed=0 unreachable=0 failed=1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement