From 0b072d619a33a2f6ed262f78d50c1eb3f318a7f4 Mon Sep 17 00:00:00 2001 From: JocelynPa Date: Tue, 14 Mar 2023 17:59:38 +0100 Subject: [PATCH] update --- install_splunk.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/install_splunk.yml b/install_splunk.yml index 82bca1d..dc22e42 100644 --- a/install_splunk.yml +++ b/install_splunk.yml @@ -5,6 +5,11 @@ when: - splunk_get_fact is not defined + - name: "Boot-Start Splunk via cli" + command: "{{ splunk_exec }} enable boot-start" + become: yes + become_user: "{{ splunk_user }}" + - hosts: all_splunk_instances serial: - 1 @@ -39,9 +44,4 @@ path: /data_cold/splunk_data owner: splunk group: splunk - state: directory - - - name: "Boot-Start Splunk via cli" - command: "{{ splunk_exec }} enable boot-start" - become: yes - become_user: "{{ splunk_user }}" \ No newline at end of file + state: directory \ No newline at end of file