ansible-role-searxng/tasks/main.yml
Sergio Durigan Junior b06e4e9d03
Initial commit
Signed-off-by: Sergio Durigan Junior <sergiodj@sergiodj.net>
2024-12-12 17:35:07 -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