You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When testing a role that depends on another role, rolecule fails with the below error:
rolecule test -n ✔ │ ▼ x 15:44:34
• creating container rolecule-redis_exporter-ubuntu-22.04 with docker
• converging container rolecule-redis_exporter-ubuntu-22.04 with ansible
ERROR! the role 'docker' was not found in ansible.legacy:/src/tests/roles:/src:/:/src/tests
The error appears to be in '/src/meta/main.yml': line 3, column 5, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
dependencies:
- role: docker
^ here
⨯ command failed: exit status 1
• verifying container rolecule-redis_exporter-ubuntu-22.04 with goss (goss.yaml)
Error: found 0 tests, source: tests/goss.yaml
⨯ command failed: exit status 78
here is my tests/playbook.yml:
---
- name: test
hosts: localhost
roles:
- role: .
When testing a role that depends on another role, rolecule fails with the below error:
here is my tests/playbook.yml:
rolecule.yml:
and the
meta/main.yml
:the
docker
role is on this pathansible/roles/docker
. along with theredis_exporter
role:ansible/roles/redis_exporter
.Adding support for this would be super useful.
Thank you.
The text was updated successfully, but these errors were encountered: