Skip to content

Commit 7c0be3e

Browse files
author
jsf9k
committed
2 parents 989b011 + 37a097e commit 7c0be3e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

molecule/default/molecule.yml

+9
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,15 @@ platforms:
220220
privileged: true
221221
volumes:
222222
- /sys/fs/cgroup:/sys/fs/cgroup:rw
223+
provisioner:
224+
name: ansible
225+
env:
226+
# Molecule used to add ${MOLECULE_PROJECT_DIRECTORY}/. to this
227+
# path for us pre-25.2.0, but now we have to do it ourselves. See
228+
# ansible/molecule#4380 and
229+
# https://github.com/ansible/molecule/releases/tag/v25.2.0 for
230+
# more details.
231+
ANSIBLE_ROLES_PATH: ~/.cache/molecule/skeleton-ansible-role/${MOLECULE_SCENARIO_NAME}/roles:${MOLECULE_PROJECT_DIRECTORY}/..:~/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles
223232
scenario:
224233
name: default
225234
verifier:

0 commit comments

Comments
 (0)