aboutsummaryrefslogtreecommitdiffstats
path: root/roles/cgit/defaults
diff options
context:
space:
mode:
Diffstat (limited to 'roles/cgit/defaults')
-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.