Support for include_tasks in roles. #2885
-
Issue Type
Molecule and Ansible details
Molecule installation method (one of):
Ansible installation method (one of):
Desired BehaviorMolecule will honor the include_tasks module relative to the role its ran in. Questions related to this: Hitting up as many resources as possible after finding no other documentation or issues related to this. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Do I understand correctly that you are calling molecule on the playbook level? |
Beta Was this translation helpful? Give feedback.
-
I have created a little directory structure like the one you have and include_tasks works fine for me. The structure:
This also works when the role (
Is there something I am missing? |
Beta Was this translation helpful? Give feedback.
-
I do this extensively in my roles and have no issues. Can you point to where your code lives? Or create a minimum reproducer? |
Beta Was this translation helpful? Give feedback.
I do this extensively in my roles and have no issues. Can you point to where your code lives? Or create a minimum reproducer?