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
I have an ansible collection that contains a role that creates an image for the ubuntu setup. This role contains a couple of tasks, when I run molecule test some tasks get failed so what I did, I just add when: false wherever it fails. I know it is not a good way to mention this. After going through some documents, I came to know that we can specify dependencies in meta.main.yml. But I am pretty unclear about the specification. Can someone help me with how to add dependencies for specific tasks in meta/main.yml?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi all,
I have an ansible collection that contains a role that creates an image for the ubuntu setup. This role contains a couple of tasks, when I run molecule test some tasks get failed so what I did, I just add when: false wherever it fails. I know it is not a good way to mention this. After going through some documents, I came to know that we can specify dependencies in meta.main.yml. But I am pretty unclear about the specification. Can someone help me with how to add dependencies for specific tasks in meta/main.yml?
Beta Was this translation helpful? Give feedback.
All reactions