]> git.ekhem.eu.org Git - metadata.git/commitdiff
[cron] Restart timers after enabling them.
authorJakub Czajka <jczajka@google.com>
Sat, 23 Dec 2023 10:56:14 +0000 (11:56 +0100)
committerJakub Czajka <jczajka@google.com>
Sun, 24 Dec 2023 18:45:06 +0000 (19:45 +0100)
Timers need to be enabled and restarted [1].

[1] https://unix.stackexchange.com/a/563897

cron.git/deploy.yaml

index 5ce49a7b8e8659545e264ab6719ad8ee2bf669c5..44001301aa0e3e49c7716772a2b651dca94111ac 100644 (file)
@@ -19,5 +19,6 @@
         name: "{{ item.path }}"
         enabled: true
         daemon_reload: true
+        state: restarted
       become: true
       with_items: "{{ timers.files }}"