21 lines
533 B
YAML
21 lines
533 B
YAML
|
---
|
||
|
|
||
|
- block:
|
||
|
- when: forgejo_runner_enabled | bool
|
||
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/validate_config.yml"
|
||
|
|
||
|
- when: forgejo_runner_enabled | bool
|
||
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/install.yml"
|
||
|
tags:
|
||
|
- setup-all
|
||
|
- setup-forgejo-runner
|
||
|
- install-all
|
||
|
- install-forgejo-runner
|
||
|
|
||
|
- block:
|
||
|
- when: not forgejo_runner_enabled | bool
|
||
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/uninstall.yml"
|
||
|
tags:
|
||
|
- setup-all
|
||
|
- setup-forgejo-runner
|