Skip to content

Commit cefbd0d

Browse files
committed
Fix idempotency
1 parent ab921a1 commit cefbd0d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tasks/main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
group: false
5555
rsync_opts:
5656
- '--checksum'
57+
- '--exclude=.uuid'
5758
rsync_path: "{{ fonts_rsync_path | default('rsync') }}"
5859
with_items: "{{ fonts_font_paths }}"
5960
when:
@@ -63,7 +64,7 @@
6364

6465
- name: synchronize (font) directories (local)
6566
shell: >
66-
{{ fonts_rsync_path | default('rsync') }} -ai --delete --no-owner --no-group --checksum {{ item.src }} {{ item.dest }}
67+
{{ fonts_rsync_path | default('rsync') }} -ai --delete --no-owner --no-group --exclude=.uuid --checksum {{ item.src }} {{ item.dest }}
6768
args:
6869
warn: false
6970
register: _synchronize_font_directories

0 commit comments

Comments
 (0)