Hi guys,
I am trying to exclude a role in the meta/main.yaml according to a var that is defined in my main playbook. Is it possible to do it?
Here is what I would like to do:
Hi guys,
I am trying to exclude a role in the meta/main.yaml according to a var that is defined in my main playbook. Is it possible to do it?
Here is what I would like to do:
I’m not sure of whether there are any quirks with dependencies with “when:” conditions, but this should be an easy experiment to see if it works or not.
Alternatively you could do a main.yml for ‘baseline’ that adds the “when” to a task include.