14 lines
430 B
YAML
14 lines
430 B
YAML
---
|
|
|
|
- name: Fail if required Forgejo Runner settings not defined
|
|
ansible.builtin.fail:
|
|
msg: >
|
|
You need to define a required configuration setting (`{{ item }}`).
|
|
when: "vars[item] == ''"
|
|
with_items:
|
|
- forgejo_runner_identifier
|
|
- forgejo_runner_container_network
|
|
- forgejo_runner_docker_socket_path
|
|
- forgejo_runner_runner_name
|
|
- forgejo_runner_registration_token
|
|
- forgejo_runner_capacity
|