We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57bb0e2 commit a512e90Copy full SHA for a512e90
2 files changed
roles/cache/tasks/main.yml
@@ -1,12 +1,12 @@
1
---
2
3
-- name: Add systemd-tmpfiles configuration for /var/cache/downloads
+- name: Add systemd-tmpfiles configuration for {{ download_cache_dir }}
4
copy:
5
content: |
6
# See tmpfiles.d(5) for details
7
8
# Create a download cache directory without automatic deletion
9
- d /var/cache/downloads 1777 root root -
+ d {{ download_cache_dir }} 1777 root root -
10
dest: /etc/tmpfiles.d/downloads.conf
11
mode: 0644
12
notify:
roles/cache/vars/main.yml
@@ -0,0 +1,2 @@
+---
+download_cache_dir: /var/cache/downloads
0 commit comments