On Wednesday, 21 November 2018 15:47:51 CET JS wrote:
> when: ("'bastion-hosts' in group_names") and (item.ssh_key_generate is
> defined) and item.ssh_key_generate
Because of you double quotes everything in between the parenthesis is
considered a string and not an expression.
Remove the double quotes and it should work.
--
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/1645240.SSFtfLWPXF%40x1.
For more options, visit https://groups.google.com/d/optout.