42 lines
1.2 KiB
YAML
42 lines
1.2 KiB
YAML
---
|
|
argument_specs:
|
|
main:
|
|
short_description: Install and configure a Forgejo runner
|
|
description:
|
|
- Install and configure a Forgejo runner
|
|
author: Adrien Waksberg
|
|
options:
|
|
forgejo_runner_version:
|
|
type: str
|
|
required: false
|
|
default: 3.4.1
|
|
description: the version to install
|
|
forgejo_runner_binary_checksum:
|
|
type: str
|
|
required: false
|
|
default: sha256:5cf1d28e6d2d6168b10f2e7fac5425fe6789491834c047b5f7bb21ab84b9eaf5
|
|
description: the checksum of binary
|
|
forgejo_runner_arch:
|
|
type: str
|
|
required: false
|
|
default: amd64
|
|
description: the architecture of binary to install
|
|
forgejo_runner_name:
|
|
type: str
|
|
required: false
|
|
default: inventory_hostname
|
|
description: the runner name in Forgejo
|
|
forgejo_runner_config:
|
|
type: dict
|
|
required: false
|
|
description: the Forgejo runner config
|
|
default:
|
|
log:
|
|
level: info
|
|
runner:
|
|
file: /opt/forgejo-runner/.runner
|
|
capacity: 1
|
|
timeout: 30m
|
|
insecure: false
|
|
container:
|
|
force_pull: true
|