Apart from installing python 2.7, you need to manually symlink:
    ln -s /usr/bin/python2.7 /usr/bin/python
At least ansible 1.9, searchs for exactly '/usr/bin/python' path.

Javier Palacios

On Mon, Sep 5, 2016 at 10:55 AM, ZigDuDim <[email protected]> wrote:

> Hi everyone,
>
> I have 2 servers, both under the lastest version of ubuntu server 16.04.1
> LTS.
> One of them is my Ansible remote controler, and the other is my future
> DHCP server.
>
> I followed the instruction on this web site:
> http://www.yet.org/2014/11/ansible-dhcpd/
>
> But my Ansible server keep tell me:
>
> fatal: [dhcp]: FAILED! => {"changed": false, "failed": true,
> "module_stderr": "", "module_stdout": "bash: /usr/bin/python: Aucun fichier
> ou dossier de ce type\r\n", "msg": "MODULE FAILURE", "parsed": false}
>
> After few research i found that i had to install python 2.7, but after
> that my Ansibler server keep throw me the error.
>
> Does anyone now why?
> Thanks you !!
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Development" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to