Skip to content

Commit

Permalink
Merge pull request #449 from wazuh/fix-agent-default-vars
Browse files Browse the repository at this point in the history
Add new options to agent role's default variables
  • Loading branch information
xr09 authored Jul 16, 2020
2 parents 496dcc3 + dd77cb9 commit 9d32d12
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions roles/wazuh/ansible-wazuh-agent/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ wazuh_managers:
api_port: 55000
api_proto: 'http'
api_user: null
max_retries: 5
retry_interval: 5
wazuh_api_reachable_from_agent: false
wazuh_profile_centos: 'centos, centos7, centos7.6'
wazuh_profile_ubuntu: 'ubuntu, ubuntu18, ubuntu18.04'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
{% endif %}
{% if manager.protocol is defined %}
<protocol>{{ manager.protocol }}</protocol>
{% endif %}
{% if manager.max_retries is defined and manager.retry_interval is defined %}
<max_retries>{{ manager.max_retries }}</max_retries>
<retry_interval>{{ manager.retry_interval }}</retry_interval>
{% endif %}
Expand Down

0 comments on commit 9d32d12

Please sign in to comment.