How to configure member of search head cluster as search head in indexer cluster using splunk-ansible?


I am deploying new Splunk environment using ansible-splunk git repository. (

I have installed search head cluster consisting of 3 servers and indexer cluster also 3 servers and one master, it's all been deployed with the ansible and working fine.

Now I need to connect search head cluster to indexer cluster and can't seem to find any option in splunk-ansible on how to do it.

I have done it manually using the command 

./splunk edit cluster-config -mode searchhead -master_uri -secret splunk1234

How can I achieve it using splunk-ansible ?

Labels (2)
Tags (1)
0 Karma