aboutsummaryrefslogtreecommitdiffstats
path: root/roles/git/handlers
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2016-04-15 14:55:09 -0400
committerbnewbold <bnewbold@robocracy.org>2016-04-15 14:55:09 -0400
commite03ca62d0791524cde203aaeb1d85a4a2bac7ee9 (patch)
tree82f8267afcb24ce4f173f29dfc0143106bfe912a /roles/git/handlers
parentc4b5e49f6e4b4a31c0c278e464c690823c0ad4fd (diff)
downloadinfra-e03ca62d0791524cde203aaeb1d85a4a2bac7ee9.tar.gz
infra-e03ca62d0791524cde203aaeb1d85a4a2bac7ee9.zip
git: clear cgit cache after config updates
Diffstat (limited to 'roles/git/handlers')
-rw-r--r--roles/git/handlers/main.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/git/handlers/main.yml b/roles/git/handlers/main.yml
index bc100db..b9d7705 100644
--- a/roles/git/handlers/main.yml
+++ b/roles/git/handlers/main.yml
@@ -4,3 +4,6 @@
- name: git-daemon restart
service: name=git-daemon state=restarted enabled=yes
+
+- name: cgit clear cache
+ shell: rm -f /var/cache/cgit/*