Rename API variables

This commit is contained in:
Manuel Gutierrez 2020-01-07 16:06:08 +01:00
parent 58c5005bed
commit c7ca41169e
2 changed files with 13 additions and 13 deletions

View File

@ -10,12 +10,12 @@ wazuh_version: 3.11.0
wazuh_app_url: https://packages.wazuh.com/wazuhapp/wazuhapp wazuh_app_url: https://packages.wazuh.com/wazuhapp/wazuhapp
# API credentials # API credentials
api_auth: wazuh_api_credentials:
- api_id: "default" - id: "default"
api_url: "http://localhost" url: "http://localhost"
api_port: 55000 port: 55000
api_user: "foo" user: "foo"
api_password: "bar" password: "bar"
# Xpack Security # Xpack Security
kibana_xpack_security: false kibana_xpack_security: false
@ -41,4 +41,4 @@ nodejs:
# Build from sources # Build from sources
build_from_sources: false build_from_sources: false
wazuh_plugin_branch: 3.10-7.4 wazuh_plugin_branch: 3.10-7.4

View File

@ -125,10 +125,10 @@
# password: <password> # password: <password>
hosts: hosts:
{% for api in api_auth %} {% for api in wazuh_api_credentials %}
- {{ api['api_id'] }}: - {{ api['id'] }}:
url: {{ api['api_url'] }} url: {{ api['url'] }}
port: {{ api['api_port'] }} port: {{ api['port'] }}
user: {{ api['api_user'] }} user: {{ api['user'] }}
password: {{ api['api_password'] }} password: {{ api['password'] }}
{% endfor %} {% endfor %}