From 941a32a632c51b7e2b5a3f31f24b97921118c541 Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Fri, 7 Jul 2017 16:06:17 -0700 Subject: [PATCH] Install passlib before starting lookups test. --- test/integration/targets/lookups/lookups.yml | 4 ++++ test/integration/targets/lookups/runme.sh | 9 +++++++++ 2 files changed, 13 insertions(+) create mode 100644 test/integration/targets/lookups/lookups.yml create mode 100755 test/integration/targets/lookups/runme.sh diff --git a/test/integration/targets/lookups/lookups.yml b/test/integration/targets/lookups/lookups.yml new file mode 100644 index 0000000000..3fc1f9bb9b --- /dev/null +++ b/test/integration/targets/lookups/lookups.yml @@ -0,0 +1,4 @@ +- hosts: testhost + gather_facts: yes + roles: + - { role: lookups } diff --git a/test/integration/targets/lookups/runme.sh b/test/integration/targets/lookups/runme.sh new file mode 100755 index 0000000000..5fc3182668 --- /dev/null +++ b/test/integration/targets/lookups/runme.sh @@ -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 "$@"