From fdd5293dd05890434c5b1660bfc44d493a4f4056 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Sun, 12 May 2024 17:33:39 +0200 Subject: feat(roles/cgit): new variables structure --- roles/cgit/meta/main.yml | 61 +++++++++++++++--------------------------------- 1 file changed, 19 insertions(+), 42 deletions(-) (limited to 'roles/cgit/meta') diff --git a/roles/cgit/meta/main.yml b/roles/cgit/meta/main.yml index 1efbc4b..9f84586 100644 --- a/roles/cgit/meta/main.yml +++ b/roles/cgit/meta/main.yml @@ -1,76 +1,53 @@ --- dependencies: - - role: git - - role: httpd__pre + - role: httpd_pre argument_specs: main: short_description: cgit main entrypoint. options: - - cgit_git_dir: + cgit__repositories_dir: type: path required: true - description: Git directory - - cgit_chroot_dir: + cgit__chroot_dir: type: path required: true - description: Chroot directory for web service - - cgit_user: + cgit__user: type: str required: true - description: Cgit web service user - - cgit_group: + cgit__group: type: str required: true - description: Cgit web service group - - cgit_domain_name: + cgit__domain_name: type: str required: true - description: Cgit domain name - - cgit_clone_urls: + cgit__title: + type: str + required: true + cgit__clone_urls: type: list elements: str requiredi: true - description: Available urls for cloning a repository - - cgit_cache_size: + cgit__cache_size: type: int required: true - description: Cgit cache size - - cgit_cache_dir: + cgit__cache_dir: type: path required: true - description: Cgit cache directory - - cgit_chroot_required_files: + cgit__chroot_required_files: type: list elements: str required: true - description: Files to be copied in cgit chroot - - cgit_favicon_url: + cgit__favicon_url: type: str - description: Favicon url - cgit_logo_url: + cgit__logo_url: type: str - description: Logo url - cgit_css_url: + cgit__css_url: type: str - description: Stylesheet url - cgit_description: + cgit__description: type: str - description: Instance description - cgit_readme_url: + cgit__readme_url: type: str - description: Instance readme url - cgit_footer_path: + cgit__footer_file: type: str - description: Footer path -- cgit v1.2.3