ansible-role-forgejo-runner/tasks/main.yml

21 lines
533 B
YAML
Raw Normal View History

---
- 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