From b350a7d624b9046454c0d1eb261b9c7ba17ac3f9 Mon Sep 17 00:00:00 2001 From: JocelynPa Date: Tue, 25 Apr 2023 14:36:31 +0200 Subject: [PATCH] .. --- roles/splunk_deploy/tasks/Deploy_Keys_to_others.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/roles/splunk_deploy/tasks/Deploy_Keys_to_others.yml b/roles/splunk_deploy/tasks/Deploy_Keys_to_others.yml index b01d962..397c2a4 100644 --- a/roles/splunk_deploy/tasks/Deploy_Keys_to_others.yml +++ b/roles/splunk_deploy/tasks/Deploy_Keys_to_others.yml @@ -4,11 +4,10 @@ become_user: "{{ privileged_user }}" #hosts: all:!splunk_uf_Linux:!splunk_deployement copy: - src: "{{ playbook_dir }}/Keys_public/SVLCTPLOGSUP01.mom.fr/trusted.pem" + src: "{{ playbook_dir }}/Keys_public/SVLCTPLOGSUP01.mom.fr/" dest: "/opt/splunk/etc/auth/distServerKeys/SVLCTPLOGSUP01.mom.fr/" - owner: splunk - group: splunk - remote_src: true + owner: root + group: root - name: "Attribution des droits Splunk" shell: "chown -Rf splunk:splunk /opt/splunk/"