ansible-playbook 2.9.12 config file = /home/sturm/deploy-cep/ansible.cfg configured module search path = ['/home/sturm/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /home/sturm/.local/lib/python3.8/site-packages/ansible executable location = /home/sturm/.local/bin/ansible-playbook python version = 3.8.2 (default, Jul 16 2020, 14:00:26) [GCC 9.3.0] Using /home/sturm/deploy-cep/ansible.cfg as config file Reading vault password file: /home/sturm/deploy-cep/.vault_pass setting up inventory plugins host_list declined parsing /home/sturm/deploy-cep/inventories/main as it did not pass its verify_file() method script declined parsing /home/sturm/deploy-cep/inventories/main as it did not pass its verify_file() method auto declined parsing /home/sturm/deploy-cep/inventories/main as it did not pass its verify_file() method Set default localhost to localhost Parsed /home/sturm/deploy-cep/inventories/main inventory source with ini plugin Loading callback plugin default of type stdout, v2.0 from /home/sturm/.local/lib/python3.8/site-packages/ansible/plugins/callback/default.py ____________________ < PLAYBOOK: test.yml > -------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || || Positional arguments: test.yml verbosity: 5 connection: smart timeout: 10 become_method: sudo tags: ('all',) inventory: ('/home/sturm/deploy-cep/inventories/main',) forks: 5 1 plays in test.yml _____________ < PLAY [Test] > ------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || || META: ran handlers Found a vault_id (default) in the vaulttext 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 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 Trying secret FileVaultSecret(filename='/home/sturm/deploy-cep/.vault_pass') for vault_id=default 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 _________________________ < TASK [Test `win_shell`] > ------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || || task path: /home/sturm/deploy-cep/test.yml:8 ESTABLISH LOCAL CONNECTION FOR USER: sturm EXEC /bin/sh -c 'echo ~sturm && sleep 0' 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' Attempting python interpreter discovery 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' EXEC /bin/sh -c '/usr/bin/python3 && sleep 0' Using module file /home/sturm/.local/lib/python3.8/site-packages/ansible/modules/windows/win_shell.py PUT /home/sturm/.ansible/tmp/ansible-local-23610y6t7j9p8/tmpc1ltgolr TO /home/sturm/.ansible/tmp/ansible-tmp-1602013339.7014337-23619-76559109496595/AnsiballZ_win_shell.py PUT /home/sturm/.ansible/tmp/ansible-local-23610y6t7j9p8/tmpadrlec7d TO /home/sturm/.ansible/tmp/ansible-tmp-1602013339.7014337-23619-76559109496595/args 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' 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' EXEC /bin/sh -c 'rm -f -r /home/sturm/.ansible/tmp/ansible-tmp-1602013339.7014337-23619-76559109496595/ > /dev/null 2>&1 && sleep 0' fatal: [localhost]: FAILED! => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python3" }, "changed": false, "module_stderr": "", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 0 } ____________ < PLAY RECAP > ------------ \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || || localhost : ok=0 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0