You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
910 B

---
- name: Copie de la configuration du deploiment server
become: yes
become_user: "{{ privileged_user }}"
hosts: splunk_deployement_TIC
tasks:
- name: Copier application sur le DS
copy:
src: "{{ playbook_dir }}/Apps_for_DS/"
dest: /opt/splunk/etc/deployment-apps/
owner: splunk
group: splunk
- name: Copier configuration distributsearch
copy:
src: "{{ playbook_dir }}/Apps_for_DS/For_MC/local/distsearch.conf"
dest: /opt/splunk/etc/apps/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"
command: "{{ splunk_exec }} restart"
become: yes
become_user: "{{ splunk_user }}"