SURFscz / SRAM-deploy

Deploy scripts for the SCZ
Apache License 2.0
5 stars 5 forks source link

Zabbix host registration role blijft "changed" status geven #394

Closed baszoetekouw closed 1 year ago

baszoetekouw commented 1 year ago

Het gaat om deze task: https://github.com/SURFscz/SRAM-deploy/blob/main/roles/zabbix-agent/tasks/main.yml#L73

Is dit issue: https://github.com/ansible-collections/community.zabbix/issues/785

Oplossing is om het in twee stappen te doen: eerst de host updaten (idempotent) en daarna de PSK info updaten (niet idempotent).

mrvanes commented 1 year ago

Fixed typo in https://github.com/SURFscz/SRAM-deploy/commit/ae3317d64065ba71fdd1b503ae6eb3bf7bc6cfeb

baszoetekouw commented 1 year ago

getest bij acc deploy