Got ya, will try that now

 

--

Michael A Cooper

Linux Certified / Docker Certified

http://www.coopfire.com

 

From: Stefan Hornburg (Racke)
Sent: Sunday, March 15, 2020 5:46 AM
To: ansible-project@googlegroups.com
Subject: Re: [ansible-project] Very Very New to Ansible

 

On 3/15/20 10:41 AM, Michael Cooper wrote:

> They are both Ubuntu Server 18.04.4

>

>  

>

> I bet python isn’t installed, Dang it,

 

It is more likely that *only* Python3 is installed. Set the ansible_python_interpreter variable

to /usr/bin/python3.

 

Regards

        Racke

 

>

>  

>

> Thanks for pointing it out.

>

> --

>

> Michael A Cooper

>

> Linux Certified / Docker Certified

>

> http://www.coopfire.com

>

>  

>

> *From: *Mark Whaite <mailto:m...@adelard.com>

> *Sent: *Sunday, March 15, 2020 5:40 AM

> *To: *ansible-project@googlegroups.com <mailto:ansible-project@googlegroups.com>

> *Subject: *Re: [ansible-project] Very Very New to Ansible

>

>  

>

> 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 <mailto: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 <mailto: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 <mailto: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

> <https://groups.google.com/d/msgid/ansible-project/CAHtMyqj0JF21_oQsJ-qDvAkUno%2B1-_%3DXkbA9whd72NzMQ83EKA%40mail.gmail.com?utm_medium=email&utm_source=footer>.

>

>  

>

> --

> 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 <mailto:ansible-project+unsubscr...@googlegroups.com>.

> To view this discussion on the web visit

> https://groups.google.com/d/msgid/ansible-project/5e6df868.1c69fb81.d311c.3665%40mx.google.com

> <https://groups.google.com/d/msgid/ansible-project/5e6df868.1c69fb81.d311c.3665%40mx.google.com?utm_medium=email&utm_source=footer>.

 

 

--

Ecommerce and Linux consulting + Perl and web application programming.

Debian and Sympa administration. Provisioning with Ansible.

 

--

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/6dc4faf9-8195-f7a0-74cf-a8bb2e4efcce%40linuxia.de.

 

--
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/5e6df9ae.1c69fb81.b69ad.13e3%40mx.google.com.

Reply via email to