From f1e6fd65e2e0b6ebb929b5de0a0bb246e2fc5f67 Mon Sep 17 00:00:00 2001 From: JocelynPa Date: Thu, 27 Apr 2023 21:15:54 +0200 Subject: [PATCH] add CM --- Shutdown_Splunk.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Shutdown_Splunk.yml b/Shutdown_Splunk.yml index f90a837..20bb52b 100644 --- a/Shutdown_Splunk.yml +++ b/Shutdown_Splunk.yml @@ -15,6 +15,14 @@ - name: "Stop SH" include_tasks: roles/splunk_shutdown/tasks/Stop_sh.yml +- name: "Shutdown Infra Splunk" + become: yes + become_user: "{{ privileged_user }}" + hosts: splunk_cluster_master + tasks: + - name: "Stop CM" + include_tasks: roles/splunk_shutdown/tasks/Stop_cm.yml + - name: "Shutdown Infra Splunk" become: yes become_user: "{{ privileged_user }}"