Merge pull request #449 from wazuh/fix-agent-default-vars
Add new options to agent role's default variables
This commit is contained in:
commit
9d32d123fc
@ -39,6 +39,8 @@ wazuh_managers:
|
|||||||
api_port: 55000
|
api_port: 55000
|
||||||
api_proto: 'http'
|
api_proto: 'http'
|
||||||
api_user: null
|
api_user: null
|
||||||
|
max_retries: 5
|
||||||
|
retry_interval: 5
|
||||||
wazuh_api_reachable_from_agent: false
|
wazuh_api_reachable_from_agent: false
|
||||||
wazuh_profile_centos: 'centos, centos7, centos7.6'
|
wazuh_profile_centos: 'centos, centos7, centos7.6'
|
||||||
wazuh_profile_ubuntu: 'ubuntu, ubuntu18, ubuntu18.04'
|
wazuh_profile_ubuntu: 'ubuntu, ubuntu18, ubuntu18.04'
|
||||||
|
|||||||
@ -16,6 +16,8 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% if manager.protocol is defined %}
|
{% if manager.protocol is defined %}
|
||||||
<protocol>{{ manager.protocol }}</protocol>
|
<protocol>{{ manager.protocol }}</protocol>
|
||||||
|
{% endif %}
|
||||||
|
{% if manager.max_retries is defined and manager.retry_interval is defined %}
|
||||||
<max_retries>{{ manager.max_retries }}</max_retries>
|
<max_retries>{{ manager.max_retries }}</max_retries>
|
||||||
<retry_interval>{{ manager.retry_interval }}</retry_interval>
|
<retry_interval>{{ manager.retry_interval }}</retry_interval>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user