diff --git a/playbooks/00_install_zabbix_agent.yml b/playbooks/00_install_zabbix_agent.yml index 902ac2b..516c202 100644 --- a/playbooks/00_install_zabbix_agent.yml +++ b/playbooks/00_install_zabbix_agent.yml @@ -128,7 +128,7 @@ insertafter: '^# UserParameter=' line: "UserParameter=rpi.hw.temp,/usr/bin/vcgencmd measure_temp" become: "{{ 'no' if inventory_hostname in groups['nas'] else 'yes' }}" - when: inventory_hostname not in groups['raspberrypi5'] + when: inventory_hostname in groups['raspberrypi5']