aboutsummaryrefslogtreecommitdiffstats
path: root/roles/cgit/meta/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/cgit/meta/main.yml')
-rw-r--r--roles/cgit/meta/main.yml73
1 files changed, 71 insertions, 2 deletions
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
remember that computers suck.