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? -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/5de44439-f65c-4d0d-be40-0640dc0152b5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.