You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
805 B

---
# - name: Copie de la clé du DSMC sur les instances splunk
# become: yes
# become_user: "{{ privileged_user }}"
# hosts: all:!splunk_deployement_TIC:!splunk_uf_Linux
# tasks:
# - name: Copie de la clé du DSMC sur les instances splunk
# copy:
# src: "{{ playbook_dir }}/Keys_public/SVLCTPLOGSUP01.mom.fr/"
# dest: /opt/splunk/etc/auth/distServerKeys/SVLCTPLOGSUP01.mom.fr/
# owner: root
# group: root
- name: Copier le fichier trusted depuis autre.loc vers distant.loc
hosts: all:!splunk_deployement:!splunk_uf_Linux
become: yes
become_user: root
tasks:
- name: Copier le fichier trusted
delegate_to: SVLCTPLOGSUP01.mom.fr
copy:
src: /opt/splunk/etc/auth/distServerKeys/trusted.pem
dest: /tmp/
remote_src: True