This way, the diff can be automatically displayed when using --diff
and the module behaves more like other Ansible modules. Most of the
credit for this goes to @fabrepe.
Fix #180
I have documented the change hoping we don't need to continue to put the diff in msg as well (since it would be displayed twice with -v). However, if you feel strongly about this, we could keep it as an undocumented result attribute.
This way, the diff can be automatically displayed when using
--diff
and the module behaves more like other Ansible modules. Most of the credit for this goes to @fabrepe.Fix #180
I have documented the change hoping we don't need to continue to put the diff in
msg
as well (since it would be displayed twice with-v
). However, if you feel strongly about this, we could keep it as an undocumented result attribute.