Skip to content

Instantly share code, notes, and snippets.

@mwhahaha
Last active December 9, 2019 22:53
Show Gist options
  • Save mwhahaha/3fb9c0fe30877e4ea58b1cb88e90630b to your computer and use it in GitHub Desktop.
Save mwhahaha/3fb9c0fe30877e4ea58b1cb88e90630b to your computer and use it in GitHub Desktop.
✗ ansible-playbook sigh.yml -vvv
ansible-playbook 2.10.0.dev0
config file = None
configured module search path = ['/home/aschultz/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /home/aschultz/.virtualenvs/ansible-devel/lib/python3.6/site-packages/ansible-2.10.0.dev0-py3.6.egg/ansible
executable location = /home/aschultz/.virtualenvs/ansible-devel/bin/ansible-playbook
python version = 3.6.8 (default, Oct 8 2019, 16:29:04) [GCC 8.2.1 20180905 (Red Hat 8.2.1-3)]
No config file found; using defaults
host_list declined parsing /etc/ansible/hosts as it did not pass its verify_file() method
Skipping due to inventory source not existing or not being readable by the current user
script declined parsing /etc/ansible/hosts as it did not pass its verify_file() method
auto declined parsing /etc/ansible/hosts as it did not pass its verify_file() method
Skipping due to inventory source not existing or not being readable by the current user
yaml declined parsing /etc/ansible/hosts as it did not pass its verify_file() method
Skipping due to inventory source not existing or not being readable by the current user
ini declined parsing /etc/ansible/hosts as it did not pass its verify_file() method
Skipping due to inventory source not existing or not being readable by the current user
toml declined parsing /etc/ansible/hosts as it did not pass its verify_file() method
[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all'
PLAYBOOK: sigh.yml ********************************************************************************************************************************************
1 plays in sigh.yml
PLAY [localhost] **********************************************************************************************************************************************
META: ran handlers
TASK [orly] ***************************************************************************************************************************************************
task path: /home/aschultz/Documents/workspace/ansible/mwhahaha/sigh.yml:7
TASK [sadness : Gather facts for sadness] *********************************************************************************************************************
task path: /home/aschultz/.ansible/collections/ansible_collections/mwhahaha/failure/roles/sadness/tasks/main.yml:3
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: aschultz
<127.0.0.1> EXEC /bin/sh -c 'echo ~aschultz && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/aschultz/.ansible/tmp/ansible-tmp-1575931783.0818834-267186888215565 `" && echo ansible-tmp-1575931783.0818834-267186888215565="` echo /home/aschultz/.ansible/tmp/ansible-tmp-1575931783.0818834-267186888215565 `" ) && sleep 0'
Using module file /home/aschultz/.virtualenvs/ansible-devel/lib/python3.6/site-packages/ansible-2.10.0.dev0-py3.6.egg/ansible/modules/windows/setup.ps1
<127.0.0.1> PUT /home/aschultz/.ansible/tmp/ansible-local-796322yi0448wb/tmpx3or7cjz TO /home/aschultz/.ansible/tmp/ansible-tmp-1575931783.0818834-267186888215565/AnsiballZ_setup.ps1
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/aschultz/.ansible/tmp/ansible-tmp-1575931783.0818834-267186888215565/ /home/aschultz/.ansible/tmp/ansible-tmp-1575931783.0818834-267186888215565/AnsiballZ_setup.ps1 && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'powershell /home/aschultz/.ansible/tmp/ansible-tmp-1575931783.0818834-267186888215565/AnsiballZ_setup.ps1 && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /home/aschultz/.ansible/tmp/ansible-tmp-1575931783.0818834-267186888215565/ > /dev/null 2>&1 && sleep 0'
fatal: [localhost]: FAILED! => {
"changed": false,
"module_stderr": "/bin/sh: powershell: command not found\n",
"module_stdout": "",
"msg": "MODULE FAILURE\nSee stdout/stderr for the exact error",
"rc": 127
}
PLAY RECAP ****************************************************************************************************************************************************
localhost : ok=0 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
ansible-playbook sigh.yml -vvv
ansible-playbook 2.9.2
config file = None
configured module search path = ['/home/aschultz/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /home/aschultz/.virtualenvs/ansible-2.9/lib/python3.6/site-packages/ansible
executable location = /home/aschultz/.virtualenvs/ansible-2.9/bin/ansible-playbook
python version = 3.6.8 (default, Oct 8 2019, 16:29:04) [GCC 8.2.1 20180905 (Red Hat 8.2.1-3)]
No config file found; using defaults
host_list declined parsing /etc/ansible/hosts as it did not pass its verify_file() method
Skipping due to inventory source not existing or not being readable by the current user
script declined parsing /etc/ansible/hosts as it did not pass its verify_file() method
auto declined parsing /etc/ansible/hosts as it did not pass its verify_file() method
Skipping due to inventory source not existing or not being readable by the current user
yaml declined parsing /etc/ansible/hosts as it did not pass its verify_file() method
Skipping due to inventory source not existing or not being readable by the current user
ini declined parsing /etc/ansible/hosts as it did not pass its verify_file() method
Skipping due to inventory source not existing or not being readable by the current user
toml declined parsing /etc/ansible/hosts as it did not pass its verify_file() method
[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all'
PLAYBOOK: sigh.yml ********************************************************************************************************************************************
1 plays in sigh.yml
PLAY [localhost] **********************************************************************************************************************************************
META: ran handlers
TASK [orly] ***************************************************************************************************************************************************
task path: /home/aschultz/Documents/workspace/ansible/mwhahaha/sigh.yml:7
TASK [sadness : Gather facts for sadness] *********************************************************************************************************************
task path: /home/aschultz/.ansible/collections/ansible_collections/mwhahaha/failure/roles/sadness/tasks/main.yml:3
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: aschultz
<127.0.0.1> EXEC /bin/sh -c 'echo ~aschultz && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/aschultz/.ansible/tmp/ansible-tmp-1575931955.4488182-63303286531461 `" && echo ansible-tmp-1575931955.4488182-63303286531461="` echo /home/aschultz/.ansible/tmp/ansible-tmp-1575931955.4488182-63303286531461 `" ) && sleep 0'
Using module file /home/aschultz/.virtualenvs/ansible-2.9/lib/python3.6/site-packages/ansible/modules/windows/setup.ps1
<127.0.0.1> PUT /home/aschultz/.ansible/tmp/ansible-local-797251av10kwht/tmp0ujccbm5 TO /home/aschultz/.ansible/tmp/ansible-tmp-1575931955.4488182-63303286531461/AnsiballZ_setup.ps1
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/aschultz/.ansible/tmp/ansible-tmp-1575931955.4488182-63303286531461/ /home/aschultz/.ansible/tmp/ansible-tmp-1575931955.4488182-63303286531461/AnsiballZ_setup.ps1 && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'powershell /home/aschultz/.ansible/tmp/ansible-tmp-1575931955.4488182-63303286531461/AnsiballZ_setup.ps1 && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /home/aschultz/.ansible/tmp/ansible-tmp-1575931955.4488182-63303286531461/ > /dev/null 2>&1 && sleep 0'
fatal: [localhost]: FAILED! => {
"changed": false,
"module_stderr": "/bin/sh: powershell: command not found\n",
"module_stdout": "",
"msg": "MODULE FAILURE\nSee stdout/stderr for the exact error",
"rc": 127
}
PLAY RECAP ****************************************************************************************************************************************************
localhost : ok=0 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
@mwhahaha
Copy link
Author

mwhahaha commented Dec 9, 2019

This is with and install of devel @ 7767f0bb2381bc8980be6f512937d5415c635a28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment