From 5198b9594880d78d9ed6cc7f9f24d2d812ab3f17 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 7110720..e25699d 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 bdb4af5..df9ca34 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