diff --git a/test/integration/targets/builtin_vars_prompt/aliases b/test/integration/targets/builtin_vars_prompt/aliases index a4c82f50bd1..8278ec8bcc7 100644 --- a/test/integration/targets/builtin_vars_prompt/aliases +++ b/test/integration/targets/builtin_vars_prompt/aliases @@ -1,4 +1,2 @@ -setup/always/setup_passlib -setup/always/setup_pexpect shippable/posix/group3 context/controller diff --git a/test/integration/targets/builtin_vars_prompt/runme.sh b/test/integration/targets/builtin_vars_prompt/runme.sh index af5557940eb..d4a4a1eafad 100755 --- a/test/integration/targets/builtin_vars_prompt/runme.sh +++ b/test/integration/targets/builtin_vars_prompt/runme.sh @@ -2,5 +2,9 @@ set -eux +source virtualenv.sh + +pip install pexpect==4.9.0 passlib==1.7.4 + # Interactively test vars_prompt python test-vars_prompt.py -i ../../inventory "$@" diff --git a/test/integration/targets/debugger/aliases b/test/integration/targets/debugger/aliases index 981d8b782ab..8278ec8bcc7 100644 --- a/test/integration/targets/debugger/aliases +++ b/test/integration/targets/debugger/aliases @@ -1,3 +1,2 @@ shippable/posix/group3 context/controller -setup/always/setup_pexpect diff --git a/test/integration/targets/debugger/runme.sh b/test/integration/targets/debugger/runme.sh index 6a51d23d065..af307914c59 100755 --- a/test/integration/targets/debugger/runme.sh +++ b/test/integration/targets/debugger/runme.sh @@ -2,4 +2,8 @@ set -eux +source virtualenv.sh + +pip install pexpect==4.9.0 + ./test_run_once.py -i inventory "$@" diff --git a/test/integration/targets/pause/aliases b/test/integration/targets/pause/aliases index 8597f012098..101793239ab 100644 --- a/test/integration/targets/pause/aliases +++ b/test/integration/targets/pause/aliases @@ -1,3 +1,2 @@ -needs/target/setup_pexpect shippable/posix/group3 context/controller # this is a controller-only action, the module is just for documentation diff --git a/test/integration/targets/pause/runme.sh b/test/integration/targets/pause/runme.sh index f3c2d31a319..bcf376048f4 100755 --- a/test/integration/targets/pause/runme.sh +++ b/test/integration/targets/pause/runme.sh @@ -2,7 +2,9 @@ set -eux -ANSIBLE_ROLES_PATH=../ ansible-playbook setup.yml +source virtualenv.sh + +pip install pexpect==4.9.0 # Test pause module when no tty and non-interactive with no seconds parameter. # This is to prevent playbooks from hanging in cron and Tower jobs. diff --git a/test/integration/targets/pause/setup.yml b/test/integration/targets/pause/setup.yml deleted file mode 100644 index 9f6ab117412..00000000000 --- a/test/integration/targets/pause/setup.yml +++ /dev/null @@ -1,4 +0,0 @@ -- hosts: localhost - gather_facts: no - roles: - - setup_pexpect