From ec2d4045739ab47238280b03542a512f61f419f4 Mon Sep 17 00:00:00 2001 From: JocelynPa Date: Tue, 25 Apr 2023 13:26:06 +0200 Subject: [PATCH] .. --- roles/splunk_deploy/tasks/Backup_Keys_DSMC.yml | 3 ++- roles/splunk_deploy/tasks/Deploy_Keys_to_others.yml | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/roles/splunk_deploy/tasks/Backup_Keys_DSMC.yml b/roles/splunk_deploy/tasks/Backup_Keys_DSMC.yml index afd8076..f40f2bc 100644 --- a/roles/splunk_deploy/tasks/Backup_Keys_DSMC.yml +++ b/roles/splunk_deploy/tasks/Backup_Keys_DSMC.yml @@ -5,7 +5,8 @@ #hosts: splunk_deployement copy: src: "/opt/splunk/etc/auth/distServerKeys/trusted.pem" - dest: "{{ playbook_dir }}/Keys_public/SVLCTPLOGSUP01.mom.fr/" + dest: "/tmp/" + #dest: "{{ playbook_dir }}/Keys_public/SVLCTPLOGSUP01.mom.fr/" owner: root group: root remote_src: true \ No newline at end of file diff --git a/roles/splunk_deploy/tasks/Deploy_Keys_to_others.yml b/roles/splunk_deploy/tasks/Deploy_Keys_to_others.yml index b01d962..db345ba 100644 --- a/roles/splunk_deploy/tasks/Deploy_Keys_to_others.yml +++ b/roles/splunk_deploy/tasks/Deploy_Keys_to_others.yml @@ -4,6 +4,7 @@ become_user: "{{ privileged_user }}" #hosts: all:!splunk_uf_Linux:!splunk_deployement copy: + src: "/tmp/trusted.pem" src: "{{ playbook_dir }}/Keys_public/SVLCTPLOGSUP01.mom.fr/trusted.pem" dest: "/opt/splunk/etc/auth/distServerKeys/SVLCTPLOGSUP01.mom.fr/" owner: splunk