1
0
Fork 0
ansible-role-forgejo/tasks/main.yml

21 lines
491 B
YAML
Raw Permalink Normal View History

2023-09-04 19:32:42 +02:00
---
- block:
- when: forgejo_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/validate_config.yml"
- when: forgejo_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/install.yml"
tags:
- setup-all
- setup-forgejo
- install-all
- install-forgejo
- block:
- when: not forgejo_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/uninstall.yml"
tags:
- setup-all
- setup-forgejo