We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df5e74a commit 57bb0e2Copy full SHA for 57bb0e2
2 files changed
roles/cache/handlers/main.yml
@@ -0,0 +1,5 @@
1
+---
2
+
3
+- name: create-systemd-tmpfiles
4
+ command:
5
+ cmd: systemd-tmpfiles --create
roles/cache/tasks/main.yml
@@ -9,10 +9,5 @@
9
d /var/cache/downloads 1777 root root -
10
dest: /etc/tmpfiles.d/downloads.conf
11
mode: 0644
12
- register: download_cache
13
-
14
-- name: Trigger systemd to create /var/cache/downloads
15
- command:
16
- cmd: systemd-tmpfiles --create
17
- creates: /var/cache/downloads
18
- when: download_cache.changed
+ notify:
+ - create-systemd-tmpfiles
0 commit comments