On Mon, Feb 22, 2021 at 03:02:03PM +0800, Wu Fengguang wrote:
- # {"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.
But only a few of the message have 'cmd' keys.
Thanks, Chenglong
Thanks, Fengguang