mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Install passlib before starting lookups test.
This commit is contained in:
parent
f5edc840e2
commit
941a32a632
2 changed files with 13 additions and 0 deletions
4
test/integration/targets/lookups/lookups.yml
Normal file
4
test/integration/targets/lookups/lookups.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
- hosts: testhost
|
||||
gather_facts: yes
|
||||
roles:
|
||||
- { role: lookups }
|
9
test/integration/targets/lookups/runme.sh
Executable file
9
test/integration/targets/lookups/runme.sh
Executable file
|
@ -0,0 +1,9 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -eux
|
||||
|
||||
# Requirements have to be installed prior to running ansible-playbook
|
||||
# because plugins and requirements are loaded before the task runs
|
||||
pip install passlib
|
||||
|
||||
ANSIBLE_ROLES_PATH=../ ansible-playbook lookups.yml -i ../../inventory -e @../../integration_config.yml "$@"
|
Loading…
Reference in a new issue