Open dalepotter opened 1 year ago
Have you ever figured out a solution to this? I am also failing to run Molecule against a role in the same directory without first installing the role
Tried this:
provisioner:
name: ansible
ANSIBLE_ROLES_PATH: "../../"
But it does not help.
Edit: My problem was unrelated. Molecule does not consider .yaml
files. Changing meta/main.yaml
to meta/main.yml
resolved my issue.
Issue Type
Molecule and Ansible details
Molecule installation method (one of):
pip install git+https://github.com/ansible-community/molecule.git@main
)Ansible installation method (one of):
Detail any linters or test runners used:
molecule
commands locally from command line - see 'Actual Behaviour' section below.Desired Behavior
Tasks from the included should be found and attempt to run.
Actual Behaviour
The included role reports as 'not found'.
Output:
Additional notes
This seems similar to https://github.com/ansible-community/molecule/issues/3404