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/meta/main.yml | 73 ++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 71 insertions(+), 2 deletions(-) (limited to 'roles/cgit/meta') diff --git a/roles/cgit/meta/main.yml b/roles/cgit/meta/main.yml index bd45503..ddd865d 100644 --- a/roles/cgit/meta/main.yml +++ b/roles/cgit/meta/main.yml @@ -2,6 +2,75 @@ dependencies: - role: git - tags: dependency - role: httpd_pre - tags: dependency + +argument_specs: + main: + short_description: cgit main entrypoint. + options: + + cgit_git_dir: + type: path + required: true + description: Git directory + + cgit_chroot_dir: + type: path + required: true + description: Chroot directory for web service + + cgit_user: + type: str + required: true + description: Cgit web service user + + cgit_group: + type: str + required: true + description: Cgit web service group + + cgit_domain_name: + type: str + required: true + description: Cgit domain name + + cgit_clone_urls: + type: list + elements: str + requiredi: true + description: Available urls for cloning a repository + + cgit_cache_size: + type: int + required: true + description: Cgit cache size + + cgit_cache_dir: + type: path + required: true + description: Cgit cache directory + + cgit_chroot_required_files: + type: list + elements: str + required: true + description: Files to be copied in cgit chroot + + cgit_favicon_url: + type: str + description: Favicon url + cgit_logo_url: + type: str + description: Logo url + cgit_css_url: + type: str + description: Stylesheet url + cgit_description: + type: str + description: Instance description + cgit_readme_url: + type: str + description: Instance readme url + cgit_footer_path: + type: str + description: Footer path -- cgit v1.2.3