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.
jenkins-master
Dustin 2018-04-14 16:22:48 -05:00
parent 290a0fcfef
commit 9e729014d6
1 changed files with 1 additions and 1 deletions

View File

@ -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 #######