Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7e48c22e3e |
@@ -13,8 +13,7 @@ searxng_container_port: 8080
|
|||||||
searxng_base_url: "http://{{ ansible_host }}:{{ searxng_host_port }}/"
|
searxng_base_url: "http://{{ ansible_host }}:{{ searxng_host_port }}/"
|
||||||
|
|
||||||
# Override via host_vars or vault; must be stable across restarts.
|
# Override via host_vars or vault; must be stable across restarts.
|
||||||
# SearxNG expects a long random string (use >= 32 chars).
|
searxng_secret_key: "CHANGE_ME_SEARXNG_SECRET"
|
||||||
searxng_secret_key: "change-me-searxng-secret-key-32chars"
|
|
||||||
|
|
||||||
# LAN CIDR allowed to hit the JSON API (same pattern as observability).
|
# LAN CIDR allowed to hit the JSON API (same pattern as observability).
|
||||||
searxng_ufw_from: "{{ ufw_ssh_allowed_network }}"
|
searxng_ufw_from: "{{ ufw_ssh_allowed_network }}"
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
state: directory
|
state: directory
|
||||||
owner: "{{ admin_user }}"
|
owner: "{{ admin_user }}"
|
||||||
group: "{{ admin_user }}"
|
group: "{{ admin_user }}"
|
||||||
mode: "0755"
|
mode: "0750"
|
||||||
|
|
||||||
- name: searxng | settings.yml
|
- name: searxng | settings.yml
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
@@ -16,8 +16,7 @@
|
|||||||
dest: "{{ searxng_dir }}/settings.yml"
|
dest: "{{ searxng_dir }}/settings.yml"
|
||||||
owner: "{{ admin_user }}"
|
owner: "{{ admin_user }}"
|
||||||
group: "{{ admin_user }}"
|
group: "{{ admin_user }}"
|
||||||
# Container runs as non-root searxng UID — must be world-readable (#10).
|
mode: "0640"
|
||||||
mode: "0644"
|
|
||||||
register: _searxng_settings
|
register: _searxng_settings
|
||||||
|
|
||||||
- name: searxng | compose file
|
- name: searxng | compose file
|
||||||
|
|||||||
Reference in New Issue
Block a user