test: fix syntax for ansible lint
All checks were successful
/ lint (push) Successful in 9s
/ molecule (push) Successful in 55s

This commit is contained in:
Adrien Waksberg 2024-05-11 11:42:46 +02:00
parent c0402701d0
commit f3170cb5a1
2 changed files with 43 additions and 1 deletions

42
meta/argument_specs.yml Normal file
View 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

View file

@ -1,5 +1,5 @@
---
- name: install dependency
- name: Install dependency
ansible.builtin.package:
name:
- docker.io