From 05a65c64f2d7f665a551ca0d69e0bc7994513ccb Mon Sep 17 00:00:00 2001 From: binary Date: Mon, 22 Feb 2021 11:35:34 +0100 Subject: Fix cat/ssh permissions for README output --- roles/cgit/tasks/main.yml | 1 + roles/cgit/templates/cgitrc.j2 | 2 ++ 2 files changed, 3 insertions(+) diff --git a/roles/cgit/tasks/main.yml b/roles/cgit/tasks/main.yml index 28abc9c..f84e7e8 100644 --- a/roles/cgit/tasks/main.yml +++ b/roles/cgit/tasks/main.yml @@ -29,6 +29,7 @@ copy: src: "/bin/{{ item }}" dest: /var/www/bin + mode: preserve remote_src: true loop: - "sh" diff --git a/roles/cgit/templates/cgitrc.j2 b/roles/cgit/templates/cgitrc.j2 index 1c316f3..5779255 100644 --- a/roles/cgit/templates/cgitrc.j2 +++ b/roles/cgit/templates/cgitrc.j2 @@ -11,6 +11,8 @@ favicon={{ cgit_config_favicon }} readme=:README.md readme=:README.org readme=:README +readme=:.README.md +readme=:.README about-filter=/bin/about-filter.sh # features -- cgit v1.2.3