diff options
| author | Ahmed Abdelhalim <[email protected]> | 2026-07-07 17:13:55 +0200 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2026-07-07 17:16:46 +0200 |
| commit | d3cb7d3f393a1a0088e2da57da500c93a0220459 (patch) | |
| tree | fffbfc46cbb1e33efa42a764cd3e024725010cf7 /roles/cgit/meta | |
| parent | 4d42a2b0950882bf63380a08c90007970c38b4ce (diff) | |
Add cgit role with testing of molecule service
Diffstat (limited to 'roles/cgit/meta')
| -rw-r--r-- | roles/cgit/meta/argument_specs.yml | 32 | ||||
| -rw-r--r-- | roles/cgit/meta/main.yml | 11 |
2 files changed, 43 insertions, 0 deletions
diff --git a/roles/cgit/meta/argument_specs.yml b/roles/cgit/meta/argument_specs.yml new file mode 100644 index 00000000..e0fa14d5 --- /dev/null +++ b/roles/cgit/meta/argument_specs.yml @@ -0,0 +1,32 @@ +--- +argument_specs: + main: + options: + cgit_hostname: + type: "str" + description: "Public hostname for cgit (e.g. git.example.com)" + default: "git.example.com" + cgit_port: + type: "int" + description: "Port nginx listens on" + default: 80 + cgit_repos_dir: + type: "str" + description: "Directory containing bare git repositories" + default: "/srv/git" + cgit_title: + type: "str" + description: "cgit index page title" + default: "git" + cgit_description: + type: "str" + description: "cgit index page description" + default: "personal git repositories" + cgit_clone_prefix: + type: "str" + description: "Clone URL prefix shown in cgit UI" + default: "https://{{ cgit_hostname }}" + cgit_ssh_user: + type: "str" + description: "System user for SSH git push access" + default: "git" diff --git a/roles/cgit/meta/main.yml b/roles/cgit/meta/main.yml new file mode 100644 index 00000000..3b5e8d42 --- /dev/null +++ b/roles/cgit/meta/main.yml @@ -0,0 +1,11 @@ +--- +dependencies: [] +galaxy_info: + author: "a14m" + description: "Install and configure cgit git web viewer" + license: "MIT" + min_ansible_version: "2.18" + platforms: + - name: "Alpine" + versions: + - "all" |
