|
|
|
|
@ -4,16 +4,18 @@
|
|
|
|
|
become_user: "{{ privileged_user }}"
|
|
|
|
|
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
|
|
|
|
|
- name: Copie de la clé du DSMC sur les instances splunk
|
|
|
|
|
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
|
|
|
|
|
|