From f61be331f0ba668cc5f95c1a875557e2c7968c7b Mon Sep 17 00:00:00 2001 From: Jakob Lichterfeld Date: Sat, 16 Sep 2023 08:54:10 +0200 Subject: [PATCH] fix: Make sure own templates.json is copied --- tasks/main.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tasks/main.yml b/tasks/main.yml index ccecd69..2f415e6 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -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/"