diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2024-05-12 17:33:39 +0200 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2024-05-12 17:36:32 +0200 |
commit | fdd5293dd05890434c5b1660bfc44d493a4f4056 (patch) | |
tree | 204e3a16a6d301c957aa3126d7fcf0ea188b2f32 /roles/cgit/meta | |
parent | a355ee21c15e915f394952abe76703d7865c991b (diff) | |
download | rules-fdd5293dd05890434c5b1660bfc44d493a4f4056.tar.gz |
feat(roles/cgit): new variables structure
Diffstat (limited to 'roles/cgit/meta')
-rw-r--r-- | roles/cgit/meta/main.yml | 61 |
1 files changed, 19 insertions, 42 deletions
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 |