Failed molecule tests in pipeline; no issues locally #3726
-
I am setting up a pipeline to test ansible roles with molecule. When I run molecule test locally I see no issues. However, when I run the same in my Buildkite pipeline I see the following an error:
My setup is
Any thoughts or ideas what could cause that? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Am I right to think that the contents of workdir is the missing ansible_roles_snmp? I think you need to have the role in a directory with the same name as the role. If you look at your local setup is the role directory named ansible_roles_snmp rather than workdir? If this is not the case the role needs to be found on one of the paths listed on line 1 of the first log message. |
Beta Was this translation helpful? Give feedback.
Am I right to think that the contents of workdir is the missing ansible_roles_snmp?
I think you need to have the role in a directory with the same name as the role. If you look at your local setup is the role directory named ansible_roles_snmp rather than workdir?
If this is not the case the role needs to be found on one of the paths listed on line 1 of the first log message.