ansible/test/integration/targets/setup_pexpect/tasks/main.yml
Sam Doooran 003a9e890d
Constrain pexpect and ptyprocess (#73109)
The recent update of ptyprocess to 0.7.0 is incompatible with Python 2.6 and
is causing test failures.

* Add setup_pexpect role to expect test
2021-01-04 15:53:56 -05:00

10 lines
267 B
YAML

- name: Copy constraints file
copy:
src: constraints.txt
dest: "{{ remote_tmp_dir }}/pexpect-constraints.txt"
- name: Install pexpect
pip:
name: pexpect
extra_args: '--constraint "{{ remote_tmp_dir }}/pexpect-constraints.txt"'
state: present