From 5276e37a0a0967f6368e6f3bcf4dc938809d5924 Mon Sep 17 00:00:00 2001 From: JocelynPa Date: Mon, 24 Apr 2023 23:53:49 +0200 Subject: [PATCH] replication factor --- roles/splunk_deploy/tasks/Deploy_Conf_SHC_Init.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/splunk_deploy/tasks/Deploy_Conf_SHC_Init.yml b/roles/splunk_deploy/tasks/Deploy_Conf_SHC_Init.yml index 4201464..94591b5 100644 --- a/roles/splunk_deploy/tasks/Deploy_Conf_SHC_Init.yml +++ b/roles/splunk_deploy/tasks/Deploy_Conf_SHC_Init.yml @@ -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 }} -replication_factor 2" become: yes become_user: "{{ privileged_user }}"