**Urgent Need ur suggestion expect module

19 views
Skip to first unread message

Abdulrazzaq shaik

unread,
Jun 11, 2021, 5:15:00 AM6/11/21
to ansible...@googlegroups.com

Hi All

 

Am trying to use expect module in the ansible, where am getting error to have pexpect 3.3 version

 

As I have tried to install am able to get pexpect 2.3 version, how to install 3.3 as per ansible docs it must be pexpect 3.3

 

Below is installed tried to update same it showing as update to date.

 

  • Upgrade pexpect package version to 3.3
  • Where can I get pexpect 3.3 ?
  • How to install pexpect 3.3 ?

 

Redhat linux 7


 

Regards

Razzaq

John Petro

unread,
Jun 11, 2021, 3:45:34 PM6/11/21
to ansible...@googlegroups.com
I did some poking, and one solution I saw, was to uninstall the RHEL installed version of pexpect, then install the version maintained in EPEL.    The other option I saw, was to run expect directly using the command or shell module.

I have not tried either of these, but hopefully it points you in the right direction.

--John

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CA%2B5G-C8i-fkDJND%2Bgk%3DvmrVhu0Kr%3D%3Dt5e4XsOkkvu%3Dwuk7MPCA%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages