Skip to content

Commit

Permalink
Add a comment explaining why we now have to set ANSIBLE_ROLES_PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
jsf9k committed Jan 30, 2025
1 parent c1aca49 commit cbfbd52
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,11 @@ platforms:
provisioner:
name: ansible
env:
# Molecule used to add ${MOLECULE_PROJECT_DIRECTORY}/. to this
# path for us pre-25.2.0, but now we have to do it ourselves. See
# ansible/molecule#4380 and
# https://github.com/ansible/molecule/releases/tag/v25.2.0 for
# more details.
ANSIBLE_ROLES_PATH: ~/.cache/molecule/skeleton-ansible-role/${MOLECULE_SCENARIO_NAME}/roles:${MOLECULE_PROJECT_DIRECTORY}/..:~/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles
scenario:
name: default
Expand Down

0 comments on commit cbfbd52

Please sign in to comment.