I need to take this and do the opposite:
when: ansible_hostname | lower | search ("sql-db")
ie: when: not(ansible_hostname | lower | search ("ebs-db"))
Is there a good place to find out what I can/can't do for this kind of
stuff (maybe even just a cheat sheet)? I don't know anything about jinja
and don't know the best place to start. Also, how would you change the
above to exclude "sql-db" when in the ansible_hostname fact?
--
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/01984ddb-5e50-445d-8c0b-c5836feb7246%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.