test: fix syntax for ansible lint
This commit is contained in:
parent
c0402701d0
commit
f3170cb5a1
2 changed files with 43 additions and 1 deletions
42
meta/argument_specs.yml
Normal file
42
meta/argument_specs.yml
Normal file
|
@ -0,0 +1,42 @@
|
||||||
|
---
|
||||||
|
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
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
- name: install dependency
|
- name: Install dependency
|
||||||
ansible.builtin.package:
|
ansible.builtin.package:
|
||||||
name:
|
name:
|
||||||
- docker.io
|
- docker.io
|
||||||
|
|
Loading…
Reference in a new issue