Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [lzap@box foreman-ansible-modules]$ ansible-playbook -vvv test.yaml
- ansible-playbook 2.7.4
- config file = /home/lzap/work/foreman-ansible-modules/ansible.cfg
- configured module search path = ['/home/lzap/work/foreman-ansible-modules/modules']
- ansible python module location = /usr/lib/python3.7/site-packages/ansible
- executable location = /usr/bin/ansible-playbook
- python version = 3.7.1 (default, Nov 23 2018, 10:01:49) [GCC 8.2.1 20181105 (Red Hat 8.2.1-5)]
- Using /home/lzap/work/foreman-ansible-modules/ansible.cfg as config file
- /home/lzap/work/foreman-ansible-modules/test/inventory/hosts did not meet host_list requirements, check plugin documentation if this is unexpected
- /home/lzap/work/foreman-ansible-modules/test/inventory/hosts did not meet script requirements, check plugin documentation if this is unexpected
- Parsed /home/lzap/work/foreman-ansible-modules/test/inventory/hosts inventory source with ini plugin
- PLAYBOOK: test.yaml ***********************************************************************************************************
- 1 plays in test.yaml
- PLAY [Playbook] ***************************************************************************************************************
- TASK [Gathering Facts] ********************************************************************************************************
- task path: /home/lzap/work/foreman-ansible-modules/test.yaml:2
- <localhost> ESTABLISH LOCAL CONNECTION FOR USER: lzap
- <localhost> EXEC /bin/sh -c 'echo ~lzap && sleep 0'
- <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'
- Using module file /usr/lib/python3.7/site-packages/ansible/modules/system/setup.py
- <localhost> PUT /home/lzap/.ansible/tmp/ansible-local-26049t5k2v0kp/tmp57fw8lnp TO /home/lzap/.ansible/tmp/ansible-tmp-1544628080.9280267-62150367607231/AnsiballZ_setup.py
- <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'
- <localhost> EXEC /bin/sh -c '../ansible_fail.py /home/lzap/.ansible/tmp/ansible-tmp-1544628080.9280267-62150367607231/AnsiballZ_setup.py && sleep 0'
- <localhost> EXEC /bin/sh -c 'rm -f -r /home/lzap/.ansible/tmp/ansible-tmp-1544628080.9280267-62150367607231/ > /dev/null 2>&1 && sleep 0'
- fatal: [localhost]: FAILED! => {
- "changed": false,
- "module_stderr": "/bin/sh: ../ansible_fail.py: No such file or directory\n",
- "module_stdout": "",
- "msg": "The module failed to execute correctly, you probably need to set the interpreter.\nSee stdout/stderr for the exact error",
- "rc": 127
- }
- PLAY RECAP ********************************************************************************************************************
- localhost : ok=0 changed=0 unreachable=0 failed=1
Add Comment
Please, Sign In to add comment