From 49b5661b7b63c1191a6140f85982cb38b5fc5963 Mon Sep 17 00:00:00 2001 From: JocelynPa Date: Thu, 9 Mar 2023 19:07:05 +0100 Subject: [PATCH] updateV2forwarder --- Deploy_Conf-to-uf.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Deploy_Conf-to-uf.yml b/Deploy_Conf-to-uf.yml index 0b36d82..a1eead1 100644 --- a/Deploy_Conf-to-uf.yml +++ b/Deploy_Conf-to-uf.yml @@ -1,18 +1,16 @@ - name: Copie de la configuration du deploiment server become: yes become_user: "{{ privileged_user }}" + hosts: splunk_uf_Linux_TIC tasks: - name: Supprimer le répertoire non fonctionnel dans SplunkForwarder - hosts: splunk_uf_Linux_TIC - when: splunkforwarder_dir.stat.exists file: path: /opt/splunkforwarder/etc/apps/01-Conf_deploy_client state: absent force: yes - name: Copier le répertoire dans SplunkForwarder - hosts: splunk_uf_Linux_TIC copy: src: "{{ playbook_dir }}/Apps_for_Splunk/01-Conf_deploy_client" dest: /opt/splunkforwarder/etc/apps/