From 0c70ea19a91fa28cc5f97364ce1276ad5ae6f898 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Sun, 22 Jan 2023 19:51:36 +0100 Subject: feat(roles/cgit): add argument specs --- roles/cgit/defaults/main.yml | 38 ++++++++++++++++++++++++-------------- 1 file changed, 24 insertions(+), 14 deletions(-) (limited to 'roles/cgit/defaults') 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: "" -- cgit v1.2.3