Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
parent
ad30a8307f
commit
989042f28a
66 changed files with 2706 additions and 2 deletions
30
roles/forgejo_runners/meta/argument_specs.yml
Normal file
30
roles/forgejo_runners/meta/argument_specs.yml
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
---
|
||||
argument_specs:
|
||||
main:
|
||||
short_description: Install and configure Forgejo runners
|
||||
description:
|
||||
- Install and configure [Forgejo](https://forgejo.org/) runners.
|
||||
author:
|
||||
- jriou
|
||||
options:
|
||||
forgejo_runners_version:
|
||||
description:
|
||||
- Version of the runners
|
||||
default: 9.1.1
|
||||
|
||||
forgejo_runners_config_dir:
|
||||
description:
|
||||
- Path to the configuration directory of the runners
|
||||
type: path
|
||||
default: /etc/forgejo-runners
|
||||
|
||||
forgejo_runners_instance:
|
||||
description:
|
||||
- URL of the Forgejo instance to register the runners
|
||||
|
||||
forgejo_runners_settings:
|
||||
description:
|
||||
- Dict of runners to configure
|
||||
- The key is the name of the repository on the instance
|
||||
- The value is a dict with a `token` key and optionally a dict of `labels`
|
||||
type: dict
|
||||
18
roles/forgejo_runners/meta/main.yml
Normal file
18
roles/forgejo_runners/meta/main.yml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
dependencies:
|
||||
- role: geerlingguy.docker
|
||||
|
||||
galaxy_info:
|
||||
role_name: jriou.forgejo
|
||||
author: jriou
|
||||
description: Ansible role to manage a Forgejo instance
|
||||
license_file: LICENSE
|
||||
min_ansible_version: 2.18
|
||||
platforms:
|
||||
- name: Debian
|
||||
versions:
|
||||
- bullseye
|
||||
- bookworm
|
||||
- trixie
|
||||
galaxy_tags:
|
||||
- forgejo
|
||||
Loading…
Add table
Add a link
Reference in a new issue