|
|
|
@ -6,16 +6,6 @@
|
|
|
|
when:
|
|
|
|
when:
|
|
|
|
- splunk_get_fact is not defined
|
|
|
|
- splunk_get_fact is not defined
|
|
|
|
|
|
|
|
|
|
|
|
- name: "Start Splunk via cli"
|
|
|
|
|
|
|
|
command: "{{ splunk_exec_uf }} start --accept-license --answer-yes --no-prompt"
|
|
|
|
|
|
|
|
become: yes
|
|
|
|
|
|
|
|
become_user: "{{ privileged_user }}"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: "Boot-Start Splunk via cli"
|
|
|
|
|
|
|
|
command: "{{ splunk_exec_uf }} enable boot-start"
|
|
|
|
|
|
|
|
become: yes
|
|
|
|
|
|
|
|
become_user: "{{ privileged_user }}"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- hosts: splunk_uf_Linux
|
|
|
|
- hosts: splunk_uf_Linux
|
|
|
|
serial:
|
|
|
|
serial:
|
|
|
|
- 1
|
|
|
|
- 1
|
|
|
|
@ -24,6 +14,16 @@
|
|
|
|
- splunk_common_uf
|
|
|
|
- splunk_common_uf
|
|
|
|
tags: all,installation
|
|
|
|
tags: all,installation
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: "Start Splunk via cli"
|
|
|
|
|
|
|
|
command: "{{ splunk_exec_uf }} start --accept-license --answer-yes --no-prompt"
|
|
|
|
|
|
|
|
become: yes
|
|
|
|
|
|
|
|
become_user: "{{ privileged_user }}"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: "Boot-Start Splunk via cli"
|
|
|
|
|
|
|
|
command: "{{ splunk_exec_uf }} enable boot-start"
|
|
|
|
|
|
|
|
become: yes
|
|
|
|
|
|
|
|
become_user: "{{ privileged_user }}"
|
|
|
|
|
|
|
|
|
|
|
|
- hosts: localhost
|
|
|
|
- hosts: localhost
|
|
|
|
connection: local
|
|
|
|
connection: local
|
|
|
|
tasks:
|
|
|
|
tasks:
|
|
|
|
|