ok_on_rc / failed_on_rc

I know we talked about this, but I don't think we ever reached a conclusion.

I often run the command or shell module to be able to register values, and when successful, it shows as changed, even though nothing has changed, it was just looking up a value (a grep etc...).

Could we add a ok_on_rc = 0, or something along those lines, to prevent this those two modules?

I haven't seen any comment on this:

Great.

Shell and command is exactly where we want it, and they are just one
module anyway that shares code (command) :slight_smile: