lab-ansible/roles/apps/tasks/extra_tasks/searxng.yml

19 lines
465 B
YAML
Raw Permalink Normal View History

2024-02-04 17:03:15 +00:00
# vim: ft=yaml.ansible
# code: language=ansible
---
- name: Create subdirectory for SearXNG Redis data
ansible.builtin.file:
path: "{{ apps_data_root }}/searxng/data/redis"
owner: '999'
group: '1000'
mode: u=rwx,g=rx,o=rx
state: directory
- name: Copy SearXNG config
ansible.builtin.template:
src: searxng/settings.yml.j2
dest: "{{ apps_data_root }}/searxng/data/settings.yml"
owner: root
group: root
mode: u=rw,g=r,o=r