Hi, this is probably easy but I cannot figure out how to do this with Ansible:
- some task that registers variable x - some task that registers variable y - some task that registers variable z - register a variable 'a' for which holds: if x == True, a=y, else, a=z - some task that uses a How can this be done with Ansible? I currently use two conditional tasks for the assignment and register the variable 'a' with a shell echo command -- this does not seem right to me ;) All the best Arne -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/146d4dd6-1ced-4d31-b222-eb0f9ad5c0b8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
