diff options
author | binary <me@rgoncalves.se> | 2021-02-22 11:35:34 +0100 |
---|---|---|
committer | binary <me@rgoncalves.se> | 2021-02-22 11:35:34 +0100 |
commit | 05a65c64f2d7f665a551ca0d69e0bc7994513ccb (patch) | |
tree | 4878edae84e9169c4c6e6324f8d87c21e245dc05 | |
parent | 9773bdd293854c1ae3504373760dda3e08088bf7 (diff) | |
download | infrastructure-05a65c64f2d7f665a551ca0d69e0bc7994513ccb.tar.gz |
Fix cat/ssh permissions for README output
-rw-r--r-- | roles/cgit/tasks/main.yml | 1 | ||||
-rw-r--r-- | roles/cgit/templates/cgitrc.j2 | 2 |
2 files changed, 3 insertions, 0 deletions
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 |