Closed
Description
SUMMARY
Since consolidation of PR #1291 for issue #1237 these version dependent values get templated:
ForceActiveChecksOnStart=0
PluginSocket=/tmp/agent.plugin.sock
PluginTimeout=3
ISSUE TYPE
- Bug Report
COMPONENT NAME
zabbix_agent
role
ANSIBLE VERSION
ansible [core 2.16.8]
config file = /home/ansible/ansible.cfg
configured module search path = ['/home/ansible/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python3/dist-packages/ansible
ansible collection location = /home/ansible/collections
executable location = /usr/bin/ansible
python version = 3.10.12 (main, Mar 22 2024, 16:50:05) [GCC 11.4.0] (/usr/bin/python3)
jinja version = 3.0.3
libyaml = True
OS / ENVIRONMENT / Zabbix Version
Ubuntu 22.04 LTS / Ansible Conroller / Zabbix 6.0 LTS
STEPS TO REPRODUCE
Install zabbix_agent role while setting zabbix_agent_version: 6.0
EXPECTED RESULTS
Not template config for newer non-LTS releasese like 6.2 and above
ACTUAL RESULTS
zabbix_agent2[1914261]: zabbix_agent2 [1914261]: ERROR: Cannot assign configuration: invalid parameter F
orceActiveChecksOnStart at line 19: unknown parameter
zabbix_agent2[1914310]: zabbix_agent2 [1914310]: ERROR: Cannot assign configuration: invalid parameter P
luginSocket at line 35: unknown parameter
zabbix_agent2[1914361]: zabbix_agent2 [1914361]: ERROR: Cannot assign configuration: invalid parameter P
luginTimeout at line 36: unknown parameter
Metadata
Metadata
Assignees
Labels
No labels