aboutsummaryrefslogtreecommitdiffstats
path: root/roles/cgit/tasks/main.yml
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2021-12-22 11:53:14 +0000
committerRomain Gonçalves <me@rgoncalves.se>2021-12-22 11:53:14 +0000
commit2cbeca09fc9e2a53b0c1d5881f91d3d22518f16b (patch)
treebb2cae32e858a98ad5082cebbd7291a72911990c /roles/cgit/tasks/main.yml
parenta95e4d859bd3f108829f8e58ed7a6df025eb1151 (diff)
downloadrules-2cbeca09fc9e2a53b0c1d5881f91d3d22518f16b.tar.gz
roles/cgit: Enable cache
Diffstat (limited to 'roles/cgit/tasks/main.yml')
-rw-r--r--roles/cgit/tasks/main.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/cgit/tasks/main.yml b/roles/cgit/tasks/main.yml
index 0f51d0c..4559708 100644
--- a/roles/cgit/tasks/main.yml
+++ b/roles/cgit/tasks/main.yml
@@ -5,6 +5,14 @@
- lowdown
state: present
+- name: create cgit cache directory
+ file:
+ path: "{{ cgit_chroot_dir }}/cache/cgit"
+ owner: www
+ group: www
+ mode: 0750
+ state: directory
+
- name: generate cgit configuration files
template:
src: "{{ item.template }}"
remember that computers suck.