From 12106aaaa9d41d7038778a8aa75ab24d2cd36fa1 Mon Sep 17 00:00:00 2001 From: JocelynPa Date: Thu, 9 Mar 2023 17:45:33 +0100 Subject: [PATCH] updateV47 --- Deploy_Conf.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Deploy_Conf.yml b/Deploy_Conf.yml index 6efe453..4ed2213 100644 --- a/Deploy_Conf.yml +++ b/Deploy_Conf.yml @@ -1,28 +1,33 @@ - name: Copie de la configuration du deploiment server become: yes become_user: "{{ privileged_user }}" - hosts: all:!splunk_deployement_TIC:!splunk_monitoring_TIC tasks: - name: Suppression du repertoire non fonctionnel 1 + hosts: all file: path: /opt/splunk/etc/apps/01-Conf_deploy_client state: absent force: yes - name: Suppression du repertoire non fonctionnel 2 + hosts: all file: path: /opt/splunkforwarder/etc/apps/01-Conf_deploy_client state: absent 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/ owner: splunk - group: splunk + group: splunk + remote_dest: yes + bac - 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/