path: root/per-service
diff options
authorAndy Doan <>2016-10-28 10:50:36 -0500
committerAndy Doan <>2016-10-28 17:10:21 +0000
commite1853a0d2584ded8686c65eb11dfc4b59675287d (patch)
tree02956982e0da6d8c998f8551fee3e4eae1f21cad /per-service
parentb06462b93564298443b94b1b53a4f957aec7b8ce (diff)
cgit: chown back to root
Now that we no longer use suexec in our apache config, we can keep files sensibly owned by root Change-Id: I8f691f207c36de3cea5003c6eb4e4aed0021d372 Reviewed-on: Reviewed-by: Ben Copeland <>
Diffstat (limited to 'per-service')
1 files changed, 2 insertions, 2 deletions
diff --git a/per-service/git-servers/roles/cgit/tasks/main.yml b/per-service/git-servers/roles/cgit/tasks/main.yml
index 82a6a61..845f1fb 100644
--- a/per-service/git-servers/roles/cgit/tasks/main.yml
+++ b/per-service/git-servers/roles/cgit/tasks/main.yml
@@ -1,5 +1,5 @@
- name: Ensure cgit directory exists
- file: path={{ apache_root }}/cgit state=directory mode=0755 owner=git group=git
+ file: path={{ apache_root }}/cgit state=directory mode=0755 owner=root group=root
- name: Ensure cgit css directory exists
file: path={{ apache_root }}/cgit/cgit-css state=directory mode=0755
@@ -41,7 +41,7 @@
template: src=header.html dest={{ apache_root }}/cgit/header.html mode=0755
- name: Create a wrapper script to the cgit binary
- copy: dest={{ apache_root }}/cgit/cgit owner=git group=git mode=0755
+ copy: dest={{ apache_root }}/cgit/cgit owner=root group=root mode=0755
content="#!/bin/sh\n{{ tools_checkout_dir }}/cgit/cgit\n"
- name: Create a symlink for