Hi, I want to make sure before execution of the role that if a variable is defined you have to define another variables, can I do that?
I have a template:
{% if variable1 != ‘’ %}
variable1 = {{ variable1 }}
variable2 = {{ variable2 }}
variable3 = {{ variable3 }}
{% endif %}
How to make mandatory variable2 and variable3 if variable1 is defined?