Install passlib before starting lookups test.

This commit is contained in:
Matt Clay 2017-07-07 16:06:17 -07:00
parent f5edc840e2
commit 941a32a632
2 changed files with 13 additions and 0 deletions

View file

@ -0,0 +1,4 @@
- hosts: testhost
gather_facts: yes
roles:
- { role: lookups }

View 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 "$@"