aboutsummaryrefslogtreecommitdiffstats
path: root/roles/cgit/defaults/main.yml
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2023-01-22 19:51:36 +0100
committerRomain Gonçalves <me@rgoncalves.se>2023-04-02 11:45:09 +0200
commit0c70ea19a91fa28cc5f97364ce1276ad5ae6f898 (patch)
tree34fc0e5817a32d8ef50341c464562385428a0d5a /roles/cgit/defaults/main.yml
parent1cdb3d7f5aa68be5d90cfbbbc69918ac7823a8ae (diff)
downloadrules-0c70ea19a91fa28cc5f97364ce1276ad5ae6f898.tar.gz
feat(roles/cgit): add argument specs
Diffstat (limited to 'roles/cgit/defaults/main.yml')
-rw-r--r--roles/cgit/defaults/main.yml38
1 files changed, 24 insertions, 14 deletions
diff --git a/roles/cgit/defaults/main.yml b/roles/cgit/defaults/main.yml
index cf70c5b..503b20b 100644
--- a/roles/cgit/defaults/main.yml
+++ b/roles/cgit/defaults/main.yml
@@ -1,20 +1,30 @@
---
-cgit_instance: cgit
cgit_git_dir: /data/git
+cgit_cache_size: 10
+cgit_cache_dir: /cache/cgit
+
cgit_chroot_dir: /var/www
+cgit_chroot_required_files:
+ - /bin/sh
+ - /bin/cat
+ - /usr/local/bin/lowdown
+
+cgit_user: www
+cgit_group: www
+
+cgit_listen_address: 0.0.0.0
+cgit_listen_port: 1235
+cgit_footer_path: /conf/footer.html
-cgit_ip: 0.0.0.0
-cgit_port: 1235
-cgit_authenticate: false
+cgit_clone_urls:
+ - git://{{ cgit_domain_name }}/$CGIT_REPO_URL
+ - ssh://{{ git_user }}@{{ cgit_domain_name }}/$CGIT_REPO_URL
+ - https://{{ cgit_domain_name }}/$CGIT_REPO_URL
-cgit__favicon: https://rgoncalves.se/img/favicon.ico
-cgit__logo: https://rgoncalves.se/img/favicon.ico
-cgit__css: https://rgoncalves.se/style/cgit.css
-cgit__root_desc: development hub
-cgit__root_readme: https://rgoncalves.se
-cgit__footer: /conf/footer.html
-cgit__clone_urls:
- - git://git.{{ __global_domain_name }}/$CGIT_REPO_URL
- - ssh://git@git.{{ __global_domain_name }}/$CGIT_REPO_URL
- - https://git.{{ __global_domain_name }}/$CGIT_REPO_URL
+cgit_domain_name: ""
+cgit_favicon_url: ""
+cgit_logo_url: ""
+cgit_css_url: ""
+cgit_description: ""
+cgit_readme_url: ""
remember that computers suck.