I want to add a var of testing to my playbook, and when that var is set to true i want var1 to be used but if its nor set to true, i want it to use var2. Is this possible?
below is a non working example but I hope it illustrates what i want it to do.