Hi

What OS is the first machine in that play?
It doesn’t have python installed or more likely ansible cannot see it.

You can set the python path for the machine in the inventory. But it would
be would making sure it is installed on the off chance it is not.

There is more under client requirements here.

https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html#managed-node-requirements


On Sun, 15 Mar 2020 at 09:30, Michael Cooper <nexusgu...@gmail.com> wrote:

> Hello Everyone
>
>        I built my control machine on a VM w/Ubuntu Server 18.04.4
> and ansible 2.5.1. Mind you I am just learning so the version shouldn't
> matter that much. I built my first and second target machines and I am
> testing the ansible ad-hoc commands.
>
> When I do an ansible  miscservers -m ping I get the following:
>
> $ ansible miscservers -m ping
> xxx.xxx.xx.x | FAILED! => {
>     "changed": false,
>     "module_stderr": "Shared connection to xxx.xxx.xx.x closed.\r\n",
>     "module_stdout": "/bin/sh: 1: /usr/bin/python: not found\r\n",
>     "msg": "MODULE FAILURE",
>     "rc": 127
> }
> xxx.xxx.x.xx | SUCCESS => {
>     "changed": false,
>     "ping": "pong"
> }
>
> I do not know what to look for here to try and resolve this issue. Please
> may I get some ideas,
>
> Thanks,
> Michael
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ansible-project+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/a7395552-1400-4169-9cb8-587ab787a121%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/a7395552-1400-4169-9cb8-587ab787a121%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
-- 
Sent from my MP3 player

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAHtMyqj0JF21_oQsJ-qDvAkUno%2B1-_%3DXkbA9whd72NzMQ83EKA%40mail.gmail.com.

Reply via email to