Receiving error "Insufficient version of pexpect installed (4.0.1), this module requires pexpect>=3.3. Error was 'NoneType' object has no attribute 'rstrip'" When trying to use Ansible variable in value field. It works fine if I hard code the value but if I use the Ansible variable I get the version error.
Ansible version 2.1.1.0
pexpect version 4.0.1
Works fine:
name: run superset.sh
expect:
command: /datavol/presto/superset.sh
responses:
'Username [admin]\:':
'admin'
Version Error:
name: run superset.sh
expect:
command: /datavol/presto/superset.sh
responses:
'Username [admin]\:':
Receiving error "Insufficient version of pexpect installed (4.0.1), this module requires pexpect>=3.3. Error was 'NoneType' object has no attribute 'rstrip'" When trying to use Ansible variable in value field. It works fine if I hard code the value but if I use the Ansible variable I get the version error. Ansible version 2.1.1.0 pexpect version 4.0.1
Works fine:
Version Error: