The error is pretty clear - make sure the host has pexpect 3.3 or greater
installed.
This is also stated in the docs of the module:
https://docs.ansible.com/ansible/latest/collections/ansible/builtin/expect_module.html#requirements




On Tue, 2 May 2023 at 13:39, Andrew Okullu <[email protected]> wrote:

> Dear members,
> am having some issues executing expect and getting this error when i run
> my ansible playbook
>
> Insufficient version of pexpect installed (2.3), this module requires
> pexpect>=3.3
> fatal: [XXXXXXXXX]: FAILED! => {"changed": false, "msg": "Insufficient
> version of pexpect installed (2.3), this module requires pexpect>=3.3.
> Error was 'module' object has no attribute '_run'"}
> ...ignoring
> How can I have this resolved?
>
> Kind Regards
> Andrew Okullu
> Mob:+256-772-418560, +256754213295
> | Skype:aokullu | twitter: @aokullu | gtalk: aokullu
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/CABcUpdpmyM6U0svGA_DJ_k6JNeja1b%3DFh%2BnFe7mvekvsvrkazA%40mail.gmail.com
> <https://groups.google.com/d/msgid/ansible-project/CABcUpdpmyM6U0svGA_DJ_k6JNeja1b%3DFh%2BnFe7mvekvsvrkazA%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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAF8BbLY0Jwn%2BG2O7s8v45dqVRyt1rGaMaKV33Fp1Dvuf1qkR_A%40mail.gmail.com.

Reply via email to