diff --git a/test/integration/targets/lookups/lookups.yml b/test/integration/targets/lookups/lookups.yml new file mode 100644 index 00000000000..3fc1f9bb9b7 --- /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 00000000000..5fc31826685 --- /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 "$@"