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 -- Kai Stian Olstad -- 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/1cb467ee333689ea1af0f8a1d14c0532%40olstad.com. For more options, visit https://groups.google.com/d/optout.
