How in a playbook would i select a file based on which group of servers is
being used.

I.e I have 3 different logstash config files which are completely different
but similar groups of servers need the same file. So a template is not
suited but i have the 3 files and multiple different groups of servers use
the same file.

I.e default should be file 1, indexer group should have file 2, and the
elasticsearch servers should have file 3.

Thanks

Mark

-- 
MARK OLLIVERHEAD OF IT OPERATIONS
 T. +44(0) 20 7775 5628 [image: Infectious Media]3-7 Herbal Hill / London /
EC1R 5EJwww.infectiousmedia.com [image: Infectious Media]
<http://www.infectiousmedia.com/> [image: Facebook]
<http://www.facebook.com/infectiousmedia>[image: Twitter]
<https://twitter.com/infectiousmedia>[image: LinkedIn]
<http://www.linkedin.com/company/infectious-media-ltd>[image: Youtube]
<http://www.youtube.com/user/InfectiousMediaLtd>    This email and any
attachments are confidential and may also beprivileged. If you are not the
intended recipient, please notify the senderimmediately, and do not
disclose the contents to another person, use it forany purpose, or store,
or copy the information in any medium. Please alsodestroy and delete the
message from your computer.

-- 
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/CALKPxXjYvwc%2Be60YRYLexf95E%2BT016xs5RpDwx4tPmPPU8-PTQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to