parent
b7ee929939
commit
ecd1295378
@ -1,5 +1,5 @@
|
||||
---
|
||||
- name: "Boot-Strap"
|
||||
command: "{{ splunk_exec }} bootstrap shcluster-captain -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://{{ group.splunk_search_head[0] }}:{{ splunk_svc_port }},https://{{ group.splunk_search_head[1] }}:{{ splunk_svc_port }}""
|
||||
become: yes
|
||||
become_user: "{{ privileged_user }}"
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
---
|
||||
- name: "Initialize the Members"
|
||||
command: "{{ splunk_exec }} init shcluster-config -auth {{ splunk_admin_user }}:'{{ splunk_password }}'' -mgmt_uri https://{{ inventory_hostname }}:{{ splunk_svc_port }} -replication_port {{ splunk_shcluster_replication_port }} -secret {{ splunk_password }} -shcluster_label {{ splunk_shcluster_label }}"
|
||||
command: "{{ splunk_exec }} init shcluster-config -auth {{ splunk_admin_user }}:'{{ splunk_password }}' -mgmt_uri https://{{ inventory_hostname }}:{{ splunk_svc_port }} -replication_port {{ splunk_shcluster_replication_port }} -secret {{ splunk_password }} -shcluster_label {{ splunk_shcluster_label }}"
|
||||
become: yes
|
||||
become_user: "{{ privileged_user }}"
|
||||
|
||||
|
||||
Loading…
Reference in new issue