Hi Daley,
 

> rpm -qa | grep python    


just gives the installed packages with python in the name.  Any idea which 
is missing to fix this error?  python2 yum module is installed.

Many thanks

On Friday, July 7, 2017 at 8:44:09 AM UTC+1, Daley Okuwa wrote:
>
> hello
>
> you need to use yum to install the python libraries
> please do a rpm -qa | grep python  if you are using red hat 
>
> thanks 
>
> Daley
>
>
> ------------------------------
> *From:* B Holmes <bdhol...@gmail.com <javascript:>>
> *To:* Ansible Project <ansible...@googlegroups.com <javascript:>> 
> *Sent:* Thursday, 6 July 2017, 21:09
> *Subject:* [ansible-project] Re: error message with adhoc command from 
> the command line
>
> I've hit this problem too, ever find a solution?
>
> On Tuesday, May 30, 2017 at 8:32:43 AM UTC+1, Daley Okuwa wrote:
>
> kuwa@ubuntu:/etc/ansible$ ansible all -i hosts -u dokuwa1 --ask-pass -m 
> yum -a "name=httpd state=present" --become-user=root --ask-become-pass
> SSH password:
> SUDO password[defaults to SSH password]:
> 192.168.85.129 | FAILED! => {
>     "changed": false,
>     "failed": true,
>     "msg": "python2 bindings for rpm are needed for this module. python2 
> yum module is needed for this  module"
> Thanks
>
> -- 
> 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-proje...@googlegroups.com <javascript:>.
> To post to this group, send email to ansible...@googlegroups.com 
> <javascript:>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/ansible-project/06b62515-8cf7-4bdf-a64e-6df42c58d264%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/ansible-project/06b62515-8cf7-4bdf-a64e-6df42c58d264%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>
>
>

-- 
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 post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/2b4a543d-a8d8-4f79-a3b3-35dcb2c0f027%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to