Hi,
I would like to use the when condition to execute tasks based on group
names in ansible.
I am using this code snipit
when: ({{group_names}} == "web-server")
But it always skips.
Can someone please correct me.
--
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/da3e21ec-38f5-44d2-ab6d-a1fc62f9866c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.