roles/zabbix-agent: Use variable for Include
Since the location of the configuration drop-in directory can vary by distribution, it is important to expand the `zbx_agent_config_dir` variable in the `Include` parameter.
This commit is contained in:
@@ -267,7 +267,7 @@ HostMetadataItem={{ zabbix_metadata_item }}
|
|||||||
# Include=
|
# Include=
|
||||||
|
|
||||||
# Include=/etc/zabbix_agentd.userparams.conf
|
# Include=/etc/zabbix_agentd.userparams.conf
|
||||||
Include=/etc/zabbix_agentd.conf.d/
|
Include={{ zbx_agent_config_dir }}
|
||||||
# Include=/etc/zabbix_agentd.conf.d/*.conf
|
# Include=/etc/zabbix_agentd.conf.d/*.conf
|
||||||
|
|
||||||
####### USER-DEFINED MONITORED PARAMETERS #######
|
####### USER-DEFINED MONITORED PARAMETERS #######
|
||||||
|
|||||||
Reference in New Issue
Block a user