diff options
Diffstat (limited to 'roles/cgit/defaults')
-rw-r--r-- | roles/cgit/defaults/main.yml | 45 |
1 files changed, 23 insertions, 22 deletions
diff --git a/roles/cgit/defaults/main.yml b/roles/cgit/defaults/main.yml index 503b20b..adf7a97 100644 --- a/roles/cgit/defaults/main.yml +++ b/roles/cgit/defaults/main.yml @@ -1,30 +1,31 @@ --- -cgit_git_dir: /data/git -cgit_cache_size: 10 -cgit_cache_dir: /cache/cgit +cgit__packages: + - cgit + - lowdown -cgit_chroot_dir: /var/www -cgit_chroot_required_files: +cgit__user: "{{ httpd_pre__user }}" +cgit__group: "{{ httpd_pre__group }}" + +cgit__chroot_dir: "{{ httpd_pre__chroot_dir }}" +cgit__cache_dir: "{{ cgit__chroot_dir }}/cache/cgit" +cgit__repositories_dir: "{{ cgit__chroot_dir }}/data/cgit" +cgit__configuration_dir: "{{ cgit__chroot_dir }}/cgit" +cgit__configuration_file: "{{ cgit__configuration_dir }}/cgitrc" +cgit__footer_file: "{{ cgit__configuration_dir }}/footer.html" + +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_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__cache_size: 10 -cgit_domain_name: "" -cgit_favicon_url: "" -cgit_logo_url: "" -cgit_css_url: "" -cgit_description: "" -cgit_readme_url: "" +cgit__clone_urls: [] +cgit__title: "" +cgit__favicon_url: "" +cgit__logo_url: "" +cgit__css_url: "" +cgit__description: "" +cgit__readme_url: "" +cgit__listen_address: localhost |