diff --git a/install_splunk.yml b/install_splunk.yml index eb7afc2..052e130 100644 --- a/install_splunk.yml +++ b/install_splunk.yml @@ -5,10 +5,10 @@ when: - splunk_get_fact is not defined - - name: "Start Splunk via cli" - command: "{{ splunk_exec }} start --accept-license --answer-yes --no-prompt" - become: yes - become_user: "{{ privileged_user }}" + - name: "Start Splunk via cli" + command: "{{ splunk_exec }} start --accept-license --answer-yes --no-prompt" + become: yes + become_user: "{{ privileged_user }}" - name: "Boot-Start Splunk via cli" command: "{{ splunk_exec }} enable boot-start"