On 02.04.19 19:50, Jon Adcock wrote: > that: getent_group.wheel|default(["", "", ""])[2] == ""
You'll need () around the getent and default: that: (getent_group.wheel|default(["", "", ""]))[2] == "" The above should work. Sebastian -- Sebastian Meyer Linux Consultant & Trainer Mail: [email protected] B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537 -- 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/750f0cef-9d55-4fab-be0a-2641adf08616%40b1-systems.de. For more options, visit https://groups.google.com/d/optout.
