On 04/27/2017 12:40 PM, Kai Stian Olstad wrote:
On 26.04.2017 16:20, Frank Thommen wrote:
What I'd need is a syntax, which checks for each mount in the
dictionary, if one of it's (possibly multiple) classes matches the
(single) class of the server and then applies the mount.  I could not
find a usable Jinja-Syntax which I could use together with `when`.
I'd appreciate any hint or pointer to achieve this task.

when: class in item.value.class


Wow, so simple?  :-) Thanks a lot.
frank

--
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/753a22f6-e61a-8456-0edf-b15229a5c92a%40drosera.ch.
For more options, visit https://groups.google.com/d/optout.

Reply via email to