From 218b0313262fe458f30b9bdca174814a6bee06be Mon Sep 17 00:00:00 2001 From: JocelynPa Date: Fri, 21 Apr 2023 09:51:00 +0200 Subject: [PATCH] module synchro --- Copy_keysV2.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Copy_keysV2.yml b/Copy_keysV2.yml index f01db73..c87564c 100644 --- a/Copy_keysV2.yml +++ b/Copy_keysV2.yml @@ -17,8 +17,7 @@ become_user: root tasks: - name: Copier le fichier trusted - delegate_to: SVLCTPLOGSUP01.mom.fr - fetch: - src: /opt/splunk/etc/auth/distServerKeys/trusted.pem - dest: /tmp/ - remote_src: True + ansible.posix.synchronize: + mode: pull + src: rsync://SVLCTPLOGSUP01.mom.fr/opt/splunk/etc/auth/distServerKeys/trusted.pem + dest: /tmp/ \ No newline at end of file