I am deploying new Splunk environment using ansible-splunk git repository. (https://github.com/splunk/splunk-ansible)
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 https://10.10.10.10:8089 -secret splunk1234
How can I achieve it using splunk-ansible ?