aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--roles/cgit/tasks/main.yml22
1 files changed, 11 insertions, 11 deletions
diff --git a/roles/cgit/tasks/main.yml b/roles/cgit/tasks/main.yml
index 286ffab..8022093 100644
--- a/roles/cgit/tasks/main.yml
+++ b/roles/cgit/tasks/main.yml
@@ -13,17 +13,17 @@
template:
src: cgitrc.j2
dest: /var/www/conf/cgitrc
- owner: "{{ user_root }}"
- group: "{{ group_root }}"
- mode: 0644
+ owner: "0"
+ group: "0"
+ mode: "0644"
- name: generate cgit configuration for httpd
template:
src: cgit.httpd.conf.j2
dest: /etc/httpd.d/cgit.conf
- owner: "{{ user_root }}"
- group: "{{ group_root }}"
- mode: 0644
+ owner: "0"
+ group: "0"
+ mode: "0644"
- name: copy utility in httpd chroot
copy:
@@ -39,17 +39,17 @@
copy:
src: about-filter.sh
dest: /var/www/bin/about-filter.sh
- owner: "{{ user_root }}"
- group: "{{ group_root }}"
- mode: 0755
+ owner: "0"
+ group: "0"
+ mode: "0755"
- name: ensure cgit web directory exists
file:
path: /var/www/{{ cgit_git_dir_chroot }}
- owner: www
+ owner: "{{ cgit_user }}"
group: daemon
- mode: 0655
state: directory
+ mode: "0755"
- name: include nfsclient for remote dir
include_role:
remember that computers suck.