Role specific file selection

14 views
Skip to first unread message

Mark Olliver

unread,
Aug 12, 2014, 8:52:29 AM8/12/14
to ansible-project
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 OLLIVER
HEAD OF IT OPERATIONS
 
T. +44(0) 20 7775 5628
 
Infectious Media
3-7 Herbal Hill / London / EC1R 5EJ
www.infectiousmedia.com
 
Infectious Media  
Facebook Twitter LinkedIn Youtube  
 
 
 
This email and any attachments are confidential and may also be
privileged. If you are not the intended recipient, please notify the sender
immediately, and do not disclose the contents to another person, use it for
any purpose, or store, or copy the information in any medium. Please also
destroy and delete the message from your computer.
 


Reply all
Reply to author
Forward
0 new messages