From f5c14aadae9a0babff3a0df84765751b045a8dfe Mon Sep 17 00:00:00 2001 From: binary Date: Thu, 11 Mar 2021 16:01:00 +0100 Subject: Makes owner and rights syntax compliant --- roles/cgit/tasks/main.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'roles') 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: -- cgit v1.2.3