Skip to content

Commit

Permalink
Fix idempotency
Browse files Browse the repository at this point in the history
  • Loading branch information
tersmitten committed Apr 8, 2022
1 parent ab921a1 commit cefbd0d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
group: false
rsync_opts:
- '--checksum'
- '--exclude=.uuid'
rsync_path: "{{ fonts_rsync_path | default('rsync') }}"
with_items: "{{ fonts_font_paths }}"
when:
Expand All @@ -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
Expand Down

0 comments on commit cefbd0d

Please sign in to comment.