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.
24 lines
822 B
24 lines
822 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
|
|
synchronize:
|
|
mode: pull
|
|
src: rsync://SVLCTPLOGSUP01.mom.fr/opt/splunk/etc/auth/distServerKeys/trusted.pem
|
|
dest: /tmp/
|
|
delegate_to: SVLCTPLOGSUP01.mom.fr |