From 86e58128a4d72463d17944538cbb088c80213a68 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 8c4a93e..557e14f 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 b6b0875..012271b 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