Skip to content

Commit

Permalink
Updated naming convention
Browse files Browse the repository at this point in the history
  • Loading branch information
pyrodie18 committed Sep 8, 2024
1 parent 5117ab2 commit fb7d4c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/ZABBIX_AGENT_ROLE.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,9 @@ Host encryption configuration will be set to match agent configuration.
* `zabbix_agent_ip`: The IP address of the host. When not provided, it will be determined via the `ansible_default_ipv4` fact.
* `zabbix_agent_link_templates`: A list of templates which needs to be link to this host. The templates should exist. Default: "Templated Linux by Zabbix agent"
* `zabbix_agent_macros`: A list with macro_key and macro_value for creating hostmacro's.
* `zabbix_agent_monitoredby`: How the agent is monitored. Choices are 'zabbix_server', 'proxy', and 'proxy_group'. (Zabbix 7.0 or greater)
* `zabbix_agent_monitored_by`: How the agent is monitored. Choices are 'zabbix_server', 'proxy', and 'proxy_group'. (Zabbix 7.0 or greater)
* `zabbix_agent_proxy`: The name of the Zabbix proxy (if used). Default `null`
* `zabbix_agent_proxygroup`: The name of the Zabbix proxy group (if used) (Zabbix 7.0 or later).
* `zabbix_agent_proxy_group`: The name of the Zabbix proxy group (if used) (Zabbix 7.0 or later).
* `zabbix_agent_tags`: A list with tag and (optionally) value for creating host tags.
* `zabbix_api_create_hostgroup`: When you want to enable the Zabbix API to create/delete the hostgroups. Default: `False`
* `zabbix_api_create_hosts`: Default: `False`. When you want to enable the Zabbix API to create/delete the host. This has to be set to `True` if you want to make use of `zabbix_agent_host_state`.
Expand Down
4 changes: 2 additions & 2 deletions roles/zabbix_agent/tasks/api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
ipmi_privilege: "{{ zabbix_agent_ipmi_privilege | default(omit) }}"
ipmi_username: "{{ zabbix_agent_ipmi_username | default(omit) }}"
link_templates: "{{ zabbix_agent_link_templates }}"
monitored_by: "{{ zabbix_agent_monitoredby | default(omit) }}"
monitored_by: "{{ zabbix_agent_monitored_by | default(omit) }}"
proxy: "{{ zabbix_agent_proxy }}"
proxy_group: "{{ zabbix_agent_proxygroup | default(omit) }}"
proxy_group: "{{ zabbix_agent_proxy_group | default(omit) }}"
state: "{{ zabbix_agent_host_state }}"
tls_accept: "{{ zabbix_agent_tls_config[zabbix_agent_tlsaccept | default('unencrypted')] }}"
tls_connect: "{{ zabbix_agent_tls_config[zabbix_agent_tlsconnect | default('unencrypted')] }}"
Expand Down

0 comments on commit fb7d4c1

Please sign in to comment.