- # {"changed": true, "cmd": ["packaging/installer/install-required-packages.sh", "--non-interactive", "netdata"],
- # "msg": "non-zero return code", "rc": 1}
- when /(non-zero return code)/
- output_error $1
Here we can add cmd to error id to make it more useful.
Thanks, Fengguang