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
# API credentials
api_auth:
- api_id: "default"
api_url: "http://localhost"
api_port: 55000
api_user: "foo"
api_password: "bar"
wazuh_api_credentials:
- id: "default"
url: "http://localhost"
port: 55000
user: "foo"
password: "bar"
# Xpack Security
kibana_xpack_security: false
@ -41,4 +41,4 @@ nodejs:
# Build from sources
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>
hosts:
{% for api in api_auth %}
- {{ api['api_id'] }}:
url: {{ api['api_url'] }}
port: {{ api['api_port'] }}
user: {{ api['api_user'] }}
password: {{ api['api_password'] }}
{% for api in wazuh_api_credentials %}
- {{ api['id'] }}:
url: {{ api['url'] }}
port: {{ api['port'] }}
user: {{ api['user'] }}
password: {{ api['password'] }}
{% endfor %}