From 495ba41facb031af41c85f1b28a424e29d4b18e6 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 0ef1754..7a856d1 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 636b513..4ca079c 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