JocelynPa 3 years ago
parent 46f302e805
commit 23b712995d

@ -5,15 +5,17 @@
hosts: splunk_deployement
tasks:
- name: Copie de la clé du DSMC sur les instances splunk
copy:
src: "/opt/splunk/etc/auth/distServerKeys/trusted.pem"
dest: "{{ playbook_dir }}/Keys_public/SVLCTPLOGSUP01.mom.fr/"
#src: "{{ playbook_dir }}/Keys_public/SVLCTPLOGSUP01.mom.fr/"
#dest: /opt/splunk/etc/auth/distServerKeys/SVLCTPLOGSUP01.mom.fr/
owner: root
group: root
remote_src: true
register: backup_result
shell: ls -la
register: backup_result
# copy:
# src: "/opt/splunk/etc/auth/distServerKeys/trusted.pem"
# dest: "{{ playbook_dir }}/Keys_public/SVLCTPLOGSUP01.mom.fr/"
# #src: "{{ playbook_dir }}/Keys_public/SVLCTPLOGSUP01.mom.fr/"
# #dest: /opt/splunk/etc/auth/distServerKeys/SVLCTPLOGSUP01.mom.fr/
# owner: root
# group: root
# remote_src: true
# register: backup_result
- name: Copie de la clé du DSMC sur les instances splunk
become: true

Loading…
Cancel
Save