Ansible DRY fixes for Vault lookups.
This commit is contained in:
@@ -6,5 +6,5 @@ hosts:
|
||||
url: "https://wazuh.manager"
|
||||
port: 55000
|
||||
username: wazuh-wui
|
||||
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'] }}
|
||||
password: {{ vault_secrets['WAZUH_API_PASSWORD'] }}
|
||||
run_as: false
|
||||
|
||||
Reference in New Issue
Block a user