Enable check_mode in command module (#40428)

* Enable check_mode in command module

This only works if supplying creates or removes since it needs
something to base the heuristic off. If none are supplied it will just
skip as usual.
Fixes #15828

* Add documentation for new check_mode behavior
This commit is contained in:
Jarryd Tilbrook
2018-07-24 05:06:41 +08:00
committed by Toshio Kuratomi
parent 7fedda4c1d
commit 460f858640
4 changed files with 24 additions and 3 deletions

View File

@@ -0,0 +1,6 @@
---
minor_changes:
- command module - Add support for check mode when passing creates or removes arguments.
(https://github.com/ansible/ansible/pull/40428)
- shell module - Add support for check mode when passing creates or removes arguments.
(https://github.com/ansible/ansible/pull/40428)