Skip to content

Commit cbfbd52

Browse files
committed
Add a comment explaining why we now have to set ANSIBLE_ROLES_PATH
1 parent c1aca49 commit cbfbd52

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

molecule/default/molecule.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,11 @@ platforms:
223223
provisioner:
224224
name: ansible
225225
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.
226231
ANSIBLE_ROLES_PATH: ~/.cache/molecule/skeleton-ansible-role/${MOLECULE_SCENARIO_NAME}/roles:${MOLECULE_PROJECT_DIRECTORY}/..:~/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles
227232
scenario:
228233
name: default

0 commit comments

Comments
 (0)