From cefbd0de8d5d12a8c039553db6abd059afd265af Mon Sep 17 00:00:00 2001 From: Mischa ter Smitten Date: Fri, 8 Apr 2022 12:57:11 +0200 Subject: [PATCH] Fix idempotency --- tasks/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index 9c45bc7..9778bfe 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -54,6 +54,7 @@ group: false rsync_opts: - '--checksum' + - '--exclude=.uuid' rsync_path: "{{ fonts_rsync_path | default('rsync') }}" with_items: "{{ fonts_font_paths }}" when: @@ -63,7 +64,7 @@ - name: synchronize (font) directories (local) shell: > - {{ fonts_rsync_path | default('rsync') }} -ai --delete --no-owner --no-group --checksum {{ item.src }} {{ item.dest }} + {{ fonts_rsync_path | default('rsync') }} -ai --delete --no-owner --no-group --exclude=.uuid --checksum {{ item.src }} {{ item.dest }} args: warn: false register: _synchronize_font_directories