From 9e28b0c45d158800c0e2a78244ec212a1668b917 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sat, 21 Mar 2020 19:02:56 +0100 Subject: [PATCH] add ansible env vars to molecule --- molecule/centos7/molecule.yml | 3 +++ molecule/centos8/molecule.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/molecule/centos7/molecule.yml b/molecule/centos7/molecule.yml index feef1f4..e1a42f8 100644 --- a/molecule/centos7/molecule.yml +++ b/molecule/centos7/molecule.yml @@ -12,5 +12,8 @@ lint: | flake8 provisioner: name: ansible + env: + ANSIBLE_FILTER_PLUGINS: ${ANSIBLE_FILTER_PLUGINS:-./plugins/filter} + ANSIBLE_LIBRARY: ${ANSIBLE_LIBRARY:-./library} verifier: name: testinfra diff --git a/molecule/centos8/molecule.yml b/molecule/centos8/molecule.yml index cc3359c..dd2fdf4 100644 --- a/molecule/centos8/molecule.yml +++ b/molecule/centos8/molecule.yml @@ -12,5 +12,8 @@ lint: | flake8 provisioner: name: ansible + env: + ANSIBLE_FILTER_PLUGINS: ${ANSIBLE_FILTER_PLUGINS:-./plugins/filter} + ANSIBLE_LIBRARY: ${ANSIBLE_LIBRARY:-./library} verifier: name: testinfra