What is it that you are trying to do? It might be possible to do another way.
Sometimes I use two set_fact tasks with mutually exclusive when conditions.
As long as you remember that you don't need "{{ }}" on your when conditions and
the conditions evaluate to a boolean, when conditions can be useful.
Jon
--
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/efbc1a90-9e64-4d69-9430-0802efbc1cdd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.