|
|
|
@ -1,5 +1,5 @@
|
|
|
|
---
|
|
|
|
---
|
|
|
|
- name: Copie de la configuration du deploiment server
|
|
|
|
- name: Copie des apps sur le deploiment server
|
|
|
|
become: yes
|
|
|
|
become: yes
|
|
|
|
become_user: "{{ privileged_user }}"
|
|
|
|
become_user: "{{ privileged_user }}"
|
|
|
|
hosts: splunk_deployement_TIC
|
|
|
|
hosts: splunk_deployement_TIC
|
|
|
|
@ -11,20 +11,6 @@
|
|
|
|
owner: splunk
|
|
|
|
owner: splunk
|
|
|
|
group: splunk
|
|
|
|
group: splunk
|
|
|
|
|
|
|
|
|
|
|
|
- name: Copier configuration distributsearch
|
|
|
|
|
|
|
|
copy:
|
|
|
|
|
|
|
|
src: "{{ playbook_dir }}/Apps_for_DS/For_MC/local/"
|
|
|
|
|
|
|
|
dest: /opt/splunk/etc/system/local/
|
|
|
|
|
|
|
|
owner: splunk
|
|
|
|
|
|
|
|
group: splunk
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Copier configuration MonitoringConsole
|
|
|
|
|
|
|
|
copy:
|
|
|
|
|
|
|
|
src: "{{ playbook_dir }}/Apps_for_DS/splunk_monitoring_console/"
|
|
|
|
|
|
|
|
dest: /opt/splunk/etc/apps/splunk_monitoring_console/
|
|
|
|
|
|
|
|
owner: splunk
|
|
|
|
|
|
|
|
group: splunk
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# - name: "Restart Splunk via cli"
|
|
|
|
# - name: "Restart Splunk via cli"
|
|
|
|
# command: "{{ splunk_exec }} restart"
|
|
|
|
# command: "{{ splunk_exec }} restart"
|
|
|
|
# become: yes
|
|
|
|
# become: yes
|
|
|
|
|