diff --git a/Deploy_Conf_serverClass.yml b/Deploy_Conf_serverClass.yml index 6d09b75..adca247 100644 --- a/Deploy_Conf_serverClass.yml +++ b/Deploy_Conf_serverClass.yml @@ -9,4 +9,22 @@ src: "{{ playbook_dir }}/Apps_for_Splunk/01-Conf_ServerClass" dest: /opt/splunk/etc/apps/ owner: splunk + group: splunk + - name: Copier configuration cluster_SH sur le DS + copy: + src: "{{ playbook_dir }}/Apps_for_Splunk/02-M-TIC_sh_cluster_base" + dest: /opt/splunk/etc/apps/ + owner: splunk + group: splunk + - name: Copier configuration deployer sur le DS + copy: + src: "{{ playbook_dir }}/Apps_for_Splunk/02-M-TIC_deployer_base" + dest: /opt/splunk/etc/apps/ + owner: splunk + group: splunk + - name: Copier configuration volume_sh sur le DS + copy: + src: "{{ playbook_dir }}/Apps_for_Splunk/02-M-TIC_sh_volume_indexes" + dest: /opt/splunk/etc/apps/ + owner: splunk group: splunk \ No newline at end of file diff --git a/Restart_Splunk.yml b/Restart_Splunk.yml new file mode 100644 index 0000000..d35705c --- /dev/null +++ b/Restart_Splunk.yml @@ -0,0 +1,8 @@ +--- +- name: Restart Splunk + become: yes + become_user: "{{ privileged_user }}" + hosts: all + tasks: + - name: "Start Splunk via cli" + command: "{{ splunk_exec }} restart" \ No newline at end of file diff --git a/Start_Splunk.yml b/Start_Splunk.yml index 061e285..fb22681 100644 --- a/Start_Splunk.yml +++ b/Start_Splunk.yml @@ -1,5 +1,5 @@ --- -- name: Enable Boot-Start Splunk +- name: Start Splunk become: yes become_user: "{{ privileged_user }}" hosts: all