From 7401ec3a42023e19e938206dc3db71b7d87e18a1 Mon Sep 17 00:00:00 2001 From: JocelynPa Date: Thu, 9 Mar 2023 17:31:53 +0100 Subject: [PATCH] update V45 --- Deploy_Conf.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/Deploy_Conf.yml b/Deploy_Conf.yml index e1fd124..d76c99f 100644 --- a/Deploy_Conf.yml +++ b/Deploy_Conf.yml @@ -5,13 +5,20 @@ tasks: - name: Suppression du repertoire non fonctionnel file: - path: /opt/splunk.* + path: /opt/splunk* state: absent force: yes - - name: Copier le répertoire + - name: Copier le répertoire dans Splunk copy: src: "{{ playbook_dir }}/Apps_for_Splunk/01-Conf_deploy_client" - dest: /opt/splunk*/etc/apps/ + dest: /opt/splunk/etc/apps/ + owner: splunk + group: splunk + + - name: Copier le répertoire dans SplunkForwarder + copy: + src: "{{ playbook_dir }}/Apps_for_Splunk/01-Conf_deploy_client" + dest: /opt/splunkforwarder/etc/apps/ owner: splunk group: splunk \ No newline at end of file