|
|
|
|
@ -35,9 +35,9 @@
|
|
|
|
|
- name: Copie de la configuration du deploiment server
|
|
|
|
|
become: yes
|
|
|
|
|
become_user: "{{ privileged_user }}"
|
|
|
|
|
hosts: all:!splunk_deployement_TIC:!splunk_monitoring_TIC:!splunk_uf_Linux_TIC
|
|
|
|
|
tasks:
|
|
|
|
|
- name: Supprimer le répertoire non fonctionnel dans Splunk
|
|
|
|
|
hosts: all:!splunk_uf_Linux_TIC
|
|
|
|
|
when: splunk_dir.stat.exists
|
|
|
|
|
file:
|
|
|
|
|
path: /opt/splunk/etc/apps/01-Conf_deploy_client
|
|
|
|
|
@ -45,7 +45,6 @@
|
|
|
|
|
force: yes
|
|
|
|
|
|
|
|
|
|
- name: Copier le répertoire dans Splunk
|
|
|
|
|
hosts: all:!splunk_deployement_TIC:!splunk_monitoring_TIC:!splunk_uf_Linux_TIC
|
|
|
|
|
copy:
|
|
|
|
|
src: "{{ playbook_dir }}/Apps_for_Splunk/01-Conf_deploy_client"
|
|
|
|
|
dest: /opt/splunk/etc/apps/
|
|
|
|
|
|