Guest User

Untitled

a guest
Dec 12th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.99 KB | None | 0 0
  1. [lzap@box foreman-ansible-modules]$ ansible-playbook -vvv test.yaml
  2. ansible-playbook 2.7.4
  3. config file = /home/lzap/work/foreman-ansible-modules/ansible.cfg
  4. configured module search path = ['/home/lzap/work/foreman-ansible-modules/modules']
  5. ansible python module location = /usr/lib/python3.7/site-packages/ansible
  6. executable location = /usr/bin/ansible-playbook
  7. python version = 3.7.1 (default, Nov 23 2018, 10:01:49) [GCC 8.2.1 20181105 (Red Hat 8.2.1-5)]
  8. Using /home/lzap/work/foreman-ansible-modules/ansible.cfg as config file
  9. /home/lzap/work/foreman-ansible-modules/test/inventory/hosts did not meet host_list requirements, check plugin documentation if this is unexpected
  10. /home/lzap/work/foreman-ansible-modules/test/inventory/hosts did not meet script requirements, check plugin documentation if this is unexpected
  11. Parsed /home/lzap/work/foreman-ansible-modules/test/inventory/hosts inventory source with ini plugin
  12.  
  13. PLAYBOOK: test.yaml ***********************************************************************************************************
  14. 1 plays in test.yaml
  15.  
  16. PLAY [Playbook] ***************************************************************************************************************
  17.  
  18. TASK [Gathering Facts] ********************************************************************************************************
  19. task path: /home/lzap/work/foreman-ansible-modules/test.yaml:2
  20. <localhost> ESTABLISH LOCAL CONNECTION FOR USER: lzap
  21. <localhost> EXEC /bin/sh -c 'echo ~lzap && sleep 0'
  22. <localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/lzap/.ansible/tmp/ansible-tmp-1544628080.9280267-62150367607231 `" && echo ansible-tmp-1544628080.9280267-62150367607231="` echo /home/lzap/.ansible/tmp/ansible-tmp-1544628080.9280267-62150367607231 `" ) && sleep 0'
  23. Using module file /usr/lib/python3.7/site-packages/ansible/modules/system/setup.py
  24. <localhost> PUT /home/lzap/.ansible/tmp/ansible-local-26049t5k2v0kp/tmp57fw8lnp TO /home/lzap/.ansible/tmp/ansible-tmp-1544628080.9280267-62150367607231/AnsiballZ_setup.py
  25. <localhost> EXEC /bin/sh -c 'chmod u+x /home/lzap/.ansible/tmp/ansible-tmp-1544628080.9280267-62150367607231/ /home/lzap/.ansible/tmp/ansible-tmp-1544628080.9280267-62150367607231/AnsiballZ_setup.py && sleep 0'
  26. <localhost> EXEC /bin/sh -c '../ansible_fail.py /home/lzap/.ansible/tmp/ansible-tmp-1544628080.9280267-62150367607231/AnsiballZ_setup.py && sleep 0'
  27. <localhost> EXEC /bin/sh -c 'rm -f -r /home/lzap/.ansible/tmp/ansible-tmp-1544628080.9280267-62150367607231/ > /dev/null 2>&1 && sleep 0'
  28. fatal: [localhost]: FAILED! => {
  29. "changed": false,
  30. "module_stderr": "/bin/sh: ../ansible_fail.py: No such file or directory\n",
  31. "module_stdout": "",
  32. "msg": "The module failed to execute correctly, you probably need to set the interpreter.\nSee stdout/stderr for the exact error",
  33. "rc": 127
  34. }
  35.  
  36. PLAY RECAP ********************************************************************************************************************
  37. localhost : ok=0 changed=0 unreachable=0 failed=1
Add Comment
Please, Sign In to add comment