Adding everything in Ansible in full.

This commit is contained in:
2025-01-17 12:58:53 -05:00
parent 3d7de6ae7d
commit 2ac0bf622a
31 changed files with 163 additions and 273 deletions
+3 -3
View File
@@ -1,10 +1,10 @@
{% set vault_addr = https://vault.trez.wtf %}
{% set secrets_path = rinoa-docker/env %}
{% set vault_addr = 'https://vault.trez.wtf' %}
{% set secrets_path = 'rinoa-docker/env' %}
hosts:
- 1513629884013:
url: "https://wazuh.manager"
port: 55000
username: wazuh-wui
password: "{{ lookup('community.hashi_vault.vault_kv2_get', token=token, url=vault_url, mount_point=secrets_path, key='WAZUH_API_PASSWORD') }}"
password: {{ lookup('community.hashi_vault.vault_kv2_get', 'env', engine_mount_point='rinoa-docker', url=vault_addr, token=vault_token_cleaned)['secret']['WAZUH_API_PASSWORD'] }}
run_as: false