ansible-role-forgejo-runner/tasks/main.yml
Sergio Durigan Junior 09ef40d742
Initial commit
Signed-off-by: Sergio Durigan Junior <sergiodj@sergiodj.net>
2024-09-11 17:24:31 -04:00

20 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