ansible-role-searxng/tasks/main.yml
Sergio Durigan Junior c888c6d07a
Initial commit
Signed-off-by: Sergio Durigan Junior <sergiodj@sergiodj.net>
2024-12-10 19:35:58 -05:00

23 lines
611 B
YAML

---
- block:
- when: searxng_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/validate_config.yml"
- when: searxng_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/prepare_basic_auth.yml"
- when: searxng_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/install.yml"
tags:
- setup-all
- setup-searxng
- install-all
- install-searxng
- block:
- when: not searxng_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/uninstall.yml"
tags:
- setup-all
- setup-searxng