Ansible DRY fixes for Vault lookups.

This commit is contained in:
2025-05-20 09:06:49 -04:00
parent fcf3687b25
commit cd5f996f39
37 changed files with 118 additions and 112 deletions
+1 -1
View File
@@ -82,7 +82,7 @@ server:
# If your instance owns a /etc/searxng/settings.yml file, then set the following
# values there.
secret_key: {{ lookup('community.hashi_vault.vault_kv2_get', 'env', engine_mount_point='rinoa-docker', url=vault_addr, token=vault_token_cleaned)['secret']['SEARXNG_SECRET_KEY'] }} # Is overwritten by ${SEARXNG_SECRET}
secret_key: {{ vault_secrets['SEARXNG_SECRET_KEY'] }} # Is overwritten by ${SEARXNG_SECRET}
# Proxying image results through searx
image_proxy: true
# 1.0 and 1.1 are supported