"*Adding* "is defined" won't change the fact that it fails due to variable
being undefined."
Don't believe that's true. Conditionals will still short circuit fine.
Also {{ x | default('none') }} == 'open_vz_whatever'
may also be an option
On Wed, Mar 19, 2014 at 12:28 AM, Ilya Ivanov <[email protected]> wrote:
> I don't know the values ahead, so I can't use a static group. *Adding*"is
> defined" won't change the fact that it fails due to variable being
> undefined. I understand that it's the case for dynamic grouping based on a
> variable, as well.
>
> --
> 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/d430cf52-b221-4f69-8797-f84c245b0938%40googlegroups.com<https://groups.google.com/d/msgid/ansible-project/d430cf52-b221-4f69-8797-f84c245b0938%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>
--
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/CAEVJ8QPqiT4mSFADFv0fXQte-aZqaaHUL07rvMM%2BN0409GnOzw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.