summaryrefslogtreecommitdiff
path: root/roles
diff options
context:
space:
mode:
Diffstat (limited to 'roles')
-rw-r--r--roles/approx/tasks/main.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/approx/tasks/main.yml b/roles/approx/tasks/main.yml
index 5896dcab..26c8f8d4 100644
--- a/roles/approx/tasks/main.yml
+++ b/roles/approx/tasks/main.yml
@@ -70,6 +70,12 @@
name: approx.socket
state: started
+- name: fix path to cache directory for cleanup cron script
+ lineinfile:
+ path: /etc/cron.weekly/approx
+ regexp: '^cache='
+ line: 'cache={{ approx_basepath }}/cache'
+
- name: configure nginx vhost
vars:
nginx_vhost: