Add option to ignore, warn, or error when a module parameter is converted to a string (#51404)

* Add new module property to Windows modules
* Add brief pause to file tests to ensure the stat times are not equal, which was happening sometimes.
* Raise TypeError on error rather than fail_json()
* Rework error message to be less verbose
* Add porting guide entry
This commit is contained in:
Sam Doran
2019-02-22 16:44:32 -05:00
committed by GitHub
parent 1f06b3ca7d
commit f52a088862
7 changed files with 49 additions and 8 deletions

View File

@@ -0,0 +1,2 @@
minor_changes:
- 'add ``STRING_CONVERSION_ACTION`` option to warn, error, or ignore when a module parameter is string type but the value from YAML is not a string type and it is converted (https://github.com/ansible/ansible/issues/50503)'