From 9eb4e1bc2a99c53f6f7a192db67879b31b0e9354 Mon Sep 17 00:00:00 2001 From: JocelynPa Date: Tue, 25 Apr 2023 10:47:15 +0200 Subject: [PATCH] add_variable splunk_replication_factor_sh --- 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 94591b5..00fa0d3 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 }} -replication_factor 2" + 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 {{ splunk_replication_factor_sh }}" become: yes become_user: "{{ privileged_user }}"