Closed PeterWagenaarNW closed 4 years ago
The code suggests nut_upsmon_notifycmd can be left out, but when ran without this command, the task crashes:
failed: [<host>] (item=upsmon.conf) => {"ansible_loop_var": "item", "changed": false, "item": "upsmon.conf", "msg": "AnsibleUndefinedVariable: 'nut_upsmon_notifycmd' is undefined"}
The code suggests nut_upsmon_notifycmd can be left out, but when ran without this command, the task crashes:
failed: [<host>] (item=upsmon.conf) => {"ansible_loop_var": "item", "changed": false, "item": "upsmon.conf", "msg": "AnsibleUndefinedVariable: 'nut_upsmon_notifycmd' is undefined"}