roles/wazuh-agent: move api_pass and authd_pass from role vars to defaults, lowering precedence required to override them

This commit is contained in:
neonmei 2020-11-12 14:24:14 -03:00
parent 88873a1759
commit 92ebe86ef6
No known key found for this signature in database
GPG Key ID: 7EA1832E7E17237E
3 changed files with 4 additions and 7 deletions

View File

@ -32,6 +32,10 @@ wazuh_agent_sources_installation:
user_agent_config_profile: null user_agent_config_profile: null
user_ca_store: "/var/ossec/wpk_root.pem" user_ca_store: "/var/ossec/wpk_root.pem"
# We recommend the use of ansible-vault to protect Wazuh, api, agentless and authd credentials.
# api_pass: 'changeme'
authd_pass: ''
wazuh_managers: wazuh_managers:
- address: 127.0.0.1 - address: 127.0.0.1
port: 1514 port: 1514

View File

@ -1,3 +0,0 @@
---
# We recommend the use of Ansible Vault to protect Wazuh, api, agentless and authd credentials.
# api_pass: 'changeme'

View File

@ -1,4 +0,0 @@
---
# We recommend the use of Ansible Vault to protect Wazuh, api, agentless and authd credentials.
# authd_pass: 'foobar'
authd_pass: ''