diff --git a/roles/splunk_deploy/tasks/Deploy_Conf_SHC_BS.yml b/roles/splunk_deploy/tasks/Deploy_Conf_SHC_BS.yml index d3b60de..577f50c 100644 --- a/roles/splunk_deploy/tasks/Deploy_Conf_SHC_BS.yml +++ b/roles/splunk_deploy/tasks/Deploy_Conf_SHC_BS.yml @@ -1,5 +1,5 @@ --- - name: "Boot-Strap" - command: "{{ splunk_exec }} bootstrap shcluster-captain -auth {{ splunk_admin_user }}:'{{ splunk_password }}' -servers_list https://{{ group.splunk_search_head[0] }}:{{ splunk_svc_port }},https://{{ group.splunk_search_head[1] }}:{{ splunk_svc_port }}" + command: "{{ splunk_exec }} bootstrap shcluster-captain -auth {{ splunk_admin_user }}:'{{ splunk_password }}' -servers_list https://{{ groups.splunk_search_head[0] }}:{{ splunk_svc_port }},https://{{ groups.splunk_search_head[1] }}:{{ splunk_svc_port }}" become: yes become_user: "{{ privileged_user }}"