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/"