I meant to say "I'm trying to use the "expect" module in ansible..."

On Monday, May 14, 2018 at 11:35:43 AM UTC-4, ZillaYT wrote:
>
> $ ansible --version
> ansible 2.4.0.0
>   config file = /etc/ansible/ansible.cfg
>   configured module search path = 
> [u'/home/scscm_builder/.ansible/plugins/modules', 
> u'/usr/share/ansible/plugins/modules']
>   ansible python module location = 
> /usr/local/lib/python2.7/site-packages/ansible-2.4.0.0-py2.7.egg/ansible
>   executable location = /usr/local/bin/ansible
>   python version = 2.7.14 (default, Nov 10 2017, 18:14:45) [GCC 4.8.5 
> 20150623 (Red Hat 4.8.5-4)]
>
> I'm trying to make the "expect" module in ansible, and I get
> fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": 
> "Insufficient version of pexpect installed (2.3), this module requires 
> pexpect>=3.3. Error was 'module' object has no attribute 'runu'"}
>
> But pip tells me I already pexpect version 4.5.0?
> $ pip2.7 install --upgrade pexpect
> Requirement already up-to-date: pexpect in 
> /usr/local/lib/python2.7/site-packages (4.5.0)
> Requirement not upgraded as not directly required: ptyprocess>=0.5 in 
> /usr/local/lib/python2.7/site-packages (from pexpect) (0.5.2)
>
>
> What am I missing?
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/0bcfd484-dd38-4eef-9530-0c7e9863aa64%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to