Advertisement
Guest User

Untitled

a guest
Dec 11th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.04 KB | None | 0 0
  1. TASK [lci : Copy binaries] *********************************************************************************************************************************
  2. task path: /mnt/hdd/src/ws2/scripts/roles/lci/tasks/main.yml:11
  3. <192.168.0.28> ESTABLISH SSH CONNECTION FOR USER: root
  4. <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'"'"''
  5. <192.168.0.28> (0, '/home/root\n', '')
  6. <192.168.0.28> ESTABLISH SSH CONNECTION FOR USER: root
  7. <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'"'"''
  8. <192.168.0.28> (0, 'ansible-tmp-1544571061.12-102651612327115=/home/root/.ansible/tmp/ansible-tmp-1544571061.12-102651612327115\n', '')
  9. Using module file /usr/lib/python2.7/dist-packages/ansible/modules/files/stat.py
  10. <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
  11. <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]'
  12. <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', '')
  13. <192.168.0.28> ESTABLISH SSH CONNECTION FOR USER: root
  14. <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'"'"''
  15. <192.168.0.28> (0, '', '')
  16. <192.168.0.28> ESTABLISH SSH CONNECTION FOR USER: root
  17. <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'"'"''
  18. <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')
  19. <192.168.0.28> PUT /mnt/hdd/src/ws2/src/lci/bin/lci TO /home/root/.ansible/tmp/ansible-tmp-1544571061.12-102651612327115/source
  20. <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]'
  21. <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', '')
  22. <192.168.0.28> ESTABLISH SSH CONNECTION FOR USER: root
  23. <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'"'"''
  24. <192.168.0.28> (0, '', '')
  25. Using module file /usr/lib/python2.7/dist-packages/ansible/modules/files/copy.py
  26. <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
  27. <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]'
  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', '')
  29. <192.168.0.28> ESTABLISH SSH CONNECTION FOR USER: root
  30. <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'"'"''
  31. <192.168.0.28> (0, '', '')
  32. <192.168.0.28> ESTABLISH SSH CONNECTION FOR USER: root
  33. <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'"'"''
  34. <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')
  35. The full traceback is:
  36. WARNING: The below traceback may *not* be related to the actual failure.
  37. File "/tmp/ansible_copy_payload_vGJxBW/__main__.py", line 393, in main
  38. os.stat(os.path.dirname(b_dest))
  39.  
  40. fatal: [192.168.0.28]: FAILED! => {
  41. "changed": false,
  42. "checksum": "91b48aee4127def1c7ba2f395fd1784903e96ebd",
  43. "diff": [],
  44. "invocation": {
  45. "module_args": {
  46. "_original_basename": "lci",
  47. "attributes": null,
  48. "backup": false,
  49. "checksum": "91b48aee4127def1c7ba2f395fd1784903e96ebd",
  50. "content": null,
  51. "delimiter": null,
  52. "dest": "/usr/local/bin",
  53. "directory_mode": null,
  54. "follow": false,
  55. "force": true,
  56. "group": null,
  57. "local_follow": null,
  58. "mode": 493,
  59. "owner": null,
  60. "regexp": null,
  61. "remote_src": null,
  62. "selevel": null,
  63. "serole": null,
  64. "setype": null,
  65. "seuser": null,
  66. "src": "/home/root/.ansible/tmp/ansible-tmp-1544571061.12-102651612327115/source",
  67. "unsafe_writes": null,
  68. "validate": null
  69. }
  70. },
  71. "msg": "Destination directory /usr/local does not exist"
  72. }
  73. to retry, use: --limit @/mnt/hdd/src/ws2/scripts/deploy.retry
  74.  
  75. PLAY RECAP *************************************************************************************************************************************************
  76. 127.0.0.1 : ok=17 changed=16 unreachable=0 failed=0
  77. 192.168.0.28 : ok=3 changed=0 unreachable=0 failed=1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement