Advertisement
SturmB

win_shell result

Oct 6th, 2020 (edited)
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.25 KB | None | 0 0
  1. ansible-playbook 2.9.12
  2. config file = /home/sturm/deploy-cep/ansible.cfg
  3. configured module search path = ['/home/sturm/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  4. ansible python module location = /home/sturm/.local/lib/python3.8/site-packages/ansible
  5. executable location = /home/sturm/.local/bin/ansible-playbook
  6. python version = 3.8.2 (default, Jul 16 2020, 14:00:26) [GCC 9.3.0]
  7. Using /home/sturm/deploy-cep/ansible.cfg as config file
  8. Reading vault password file: /home/sturm/deploy-cep/.vault_pass
  9. setting up inventory plugins
  10. host_list declined parsing /home/sturm/deploy-cep/inventories/main as it did not pass its verify_file() method
  11. script declined parsing /home/sturm/deploy-cep/inventories/main as it did not pass its verify_file() method
  12. auto declined parsing /home/sturm/deploy-cep/inventories/main as it did not pass its verify_file() method
  13. Set default localhost to localhost
  14. Parsed /home/sturm/deploy-cep/inventories/main inventory source with ini plugin
  15. Loading callback plugin default of type stdout, v2.0 from /home/sturm/.local/lib/python3.8/site-packages/ansible/plugins/callback/default.py
  16. ____________________
  17. < PLAYBOOK: test.yml >
  18. --------------------
  19. \ ^__^
  20. \ (oo)\_______
  21. (__)\ )\/\
  22. ||----w |
  23. || ||
  24.  
  25. Positional arguments: test.yml
  26. verbosity: 5
  27. connection: smart
  28. timeout: 10
  29. become_method: sudo
  30. tags: ('all',)
  31. inventory: ('/home/sturm/deploy-cep/inventories/main',)
  32. forks: 5
  33. 1 plays in test.yml
  34. _____________
  35. < PLAY [Test] >
  36. -------------
  37. \ ^__^
  38. \ (oo)\_______
  39. (__)\ )\/\
  40. ||----w |
  41. || ||
  42.  
  43. META: ran handlers
  44. Found a vault_id (default) in the vaulttext
  45. We have a secret associated with vault id (default), will try to use to decrypt /home/sturm/deploy-cep/inventories/group_vars/all/vault.yml
  46. Trying to use vault secret=(FileVaultSecret(filename='/home/sturm/deploy-cep/.vault_pass')) id=default to decrypt /home/sturm/deploy-cep/inventories/group_vars/all/vault.yml
  47. Trying secret FileVaultSecret(filename='/home/sturm/deploy-cep/.vault_pass') for vault_id=default
  48. Decrypt of "b'/home/sturm/deploy-cep/inventories/group_vars/all/vault.yml'" successful with secret=FileVaultSecret(filename='/home/sturm/deploy-cep/.vault_pass') and vault_id=default
  49. _________________________
  50. < TASK [Test `win_shell`] >
  51. -------------------------
  52. \ ^__^
  53. \ (oo)\_______
  54. (__)\ )\/\
  55. ||----w |
  56. || ||
  57.  
  58. task path: /home/sturm/deploy-cep/test.yml:8
  59. <localhost> ESTABLISH LOCAL CONNECTION FOR USER: sturm
  60. <localhost> EXEC /bin/sh -c 'echo ~sturm && sleep 0'
  61. <localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/sturm/.ansible/tmp `"&& mkdir "` echo /home/sturm/.ansible/tmp/ansible-tmp-1602013339.7014337-23619-76559109496595 `" && echo ansible-tmp-1602013339.7014337-23619-76559109496595="` echo /home/sturm/.ansible/tmp/ansible-tmp-1602013339.7014337-23619-76559109496595 `" ) && sleep 0'
  62. <localhost> Attempting python interpreter discovery
  63. <localhost> EXEC /bin/sh -c 'echo PLATFORM; uname; echo FOUND; command -v '"'"'/usr/bin/python'"'"'; command -v '"'"'python3.7'"'"'; command -v '"'"'python3.6'"'"'; command -v '"'"'python3.5'"'"'; command -v '"'"'python2.7'"'"'; command -v '"'"'python2.6'"'"'; command -v '"'"'/usr/libexec/platform-python'"'"'; command -v '"'"'/usr/bin/python3'"'"'; command -v '"'"'python'"'"'; echo ENDFOUND && sleep 0'
  64. <localhost> EXEC /bin/sh -c '/usr/bin/python3 && sleep 0'
  65. Using module file /home/sturm/.local/lib/python3.8/site-packages/ansible/modules/windows/win_shell.py
  66. <localhost> PUT /home/sturm/.ansible/tmp/ansible-local-23610y6t7j9p8/tmpc1ltgolr TO /home/sturm/.ansible/tmp/ansible-tmp-1602013339.7014337-23619-76559109496595/AnsiballZ_win_shell.py
  67. <localhost> PUT /home/sturm/.ansible/tmp/ansible-local-23610y6t7j9p8/tmpadrlec7d TO /home/sturm/.ansible/tmp/ansible-tmp-1602013339.7014337-23619-76559109496595/args
  68. <localhost> EXEC /bin/sh -c 'chmod u+x /home/sturm/.ansible/tmp/ansible-tmp-1602013339.7014337-23619-76559109496595/ /home/sturm/.ansible/tmp/ansible-tmp-1602013339.7014337-23619-76559109496595/AnsiballZ_win_shell.py /home/sturm/.ansible/tmp/ansible-tmp-1602013339.7014337-23619-76559109496595/args && sleep 0'
  69. <localhost> EXEC /bin/sh -c '/usr/bin/python3 /home/sturm/.ansible/tmp/ansible-tmp-1602013339.7014337-23619-76559109496595/AnsiballZ_win_shell.py /home/sturm/.ansible/tmp/ansible-tmp-1602013339.7014337-23619-76559109496595/args && sleep 0'
  70. <localhost> EXEC /bin/sh -c 'rm -f -r /home/sturm/.ansible/tmp/ansible-tmp-1602013339.7014337-23619-76559109496595/ > /dev/null 2>&1 && sleep 0'
  71. fatal: [localhost]: FAILED! => {
  72. "ansible_facts": {
  73. "discovered_interpreter_python": "/usr/bin/python3"
  74. },
  75. "changed": false,
  76. "module_stderr": "",
  77. "module_stdout": "",
  78. "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error",
  79. "rc": 0
  80. }
  81. ____________
  82. < PLAY RECAP >
  83. ------------
  84. \ ^__^
  85. \ (oo)\_______
  86. (__)\ )\/\
  87. ||----w |
  88. || ||
  89.  
  90. localhost : ok=0 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement