On 23. sep. 2017 03:28, Eric wrote:
>
> I'm running an Ansible playbook to use the raw module, to install
> python-minimal.
>
> The host is reachable.
> The host can be SSH'ed into as root.
>
> However, when running the playbook below, it fails.
>
> It gives the error:
>
> "module_stdout": "bash: warning: setlocale: LC_ALL: cannot change
> locale (en_US.UTF-8)\r\n/bin/sh: 1: /usr/bin/python: not found\r\n",
The problem is that you don't provide the whole error message, if you
had you probably would have gotten an answer several days ago.
So without the error message I can only guess, but default Ansible has
gather facts on, so you need to turn it off.
--
Kai Stian Olstad