Ansible connection failure with Ubuntu Server 16.04
Having trouble connecting to Ubuntu Server 16.04 from your Ansible control machine? If you ping your Ubuntu Server do you get a similar error:
ubuntu_host | FAILED! => { "changed": false, "failed": true, "module_stderr": "Shared connection to 138.68.174.106 closed.\r\n", "module_stdout": "/bin/sh: 1: /usr/bin/python: not found\r\n", "msg": "MODULE FAILURE", "rc": 0 } If you do, there's a simple solution (and you should have read the docs! :-D )
Ansible Python not found on Ubuntu Server 16.