|
|
|
@ -2,11 +2,6 @@
|
|
|
|
become: yes
|
|
|
|
become: yes
|
|
|
|
become_user: "{{ privileged_user }}"
|
|
|
|
become_user: "{{ privileged_user }}"
|
|
|
|
tasks:
|
|
|
|
tasks:
|
|
|
|
- name: Vérifier si le répertoire existe dans SplunkForwarder
|
|
|
|
|
|
|
|
hosts: splunk_uf_Linux_TIC
|
|
|
|
|
|
|
|
stat:
|
|
|
|
|
|
|
|
path: /opt/splunkforwarder/etc/apps/01-Conf_deploy_client
|
|
|
|
|
|
|
|
register: splunkforwarder_dir
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Supprimer le répertoire non fonctionnel dans SplunkForwarder
|
|
|
|
- name: Supprimer le répertoire non fonctionnel dans SplunkForwarder
|
|
|
|
hosts: splunk_uf_Linux_TIC
|
|
|
|
hosts: splunk_uf_Linux_TIC
|
|
|
|
|