Skip to content

Commit

Permalink
fix: Make sure own templates.json is copied
Browse files Browse the repository at this point in the history
  • Loading branch information
JakobLichterfeld committed Sep 16, 2023
1 parent e6bcd9d commit f61be33
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
src: "splashscreens_to_copy/suspended.png"
dest: "/usr/share/remarkable/suspended.png"

- name: Templates.json - backup
ansible.builtin.raw: mv /usr/share/remarkable/templates/templates.json /usr/share/remarkable/templates/templates.json.old.$(date "+%Y%m%d-%H%M") # noqa: no-changed-when

- name: Copy templates and templates.json to device
ansible.posix.synchronize:
src: "templates_to_copy/"
Expand Down

0 comments on commit f61be33

Please sign in to comment.