aboutsummaryrefslogtreecommitdiffstats
path: root/roles/cgit/tasks
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2021-03-11 16:01:00 +0100
committerbinary <me@rgoncalves.se>2021-03-11 16:01:00 +0100
commitf5c14aadae9a0babff3a0df84765751b045a8dfe (patch)
treed4d28b4f29a94ee30b39597c514b3fb128504ea2 /roles/cgit/tasks
parentbd18c309549aca9a85766949377431b256dac6fd (diff)
downloadinfrastructure-f5c14aadae9a0babff3a0df84765751b045a8dfe.tar.gz
Makes owner and rights syntax compliant
Diffstat (limited to 'roles/cgit/tasks')
-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.