yum always return changes dict, not only in check mode (#51987)

Previously the yum module would provide a `changes` dict when
executed in check mode but omit it when not in check mode in favor
of the `results` data which is raw output from the yum command. This
pull request makes that output uniform.

Fixes #51724

Signed-off-by: Adam Miller <admiller@redhat.com>
This commit is contained in:
Adam Miller 2019-02-13 16:46:32 -06:00 committed by ansibot
commit ea0e2bf2b3
4 changed files with 97 additions and 29 deletions

View file

@ -0,0 +1,2 @@
minor_changes:
- yum - provide consistent return data structure when run in check mode and not in check mode