mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-29 08:01:24 -07:00
[PR #8479/71f96748 backport][stable-9] cmd_runner mod util: improvements (#8504)
cmd_runner mod util: improvements (#8479)
* deprecate ignore_none in context
* add changelog frag
* raise deprecation notice when passing ignore_value_none to context
* simplify deprecation logic
(cherry picked from commit 71f9674835
)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
parent
fe3a3a7638
commit
4096b9fa5a
2 changed files with 26 additions and 4 deletions
4
changelogs/fragments/8479-cmdrunner-improvements.yml
Normal file
4
changelogs/fragments/8479-cmdrunner-improvements.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
deprecated_features:
|
||||
- CmdRunner module util - setting the value of the ``ignore_none`` parameter within a ``CmdRunner`` context is deprecated and that feature should be removed in community.general 12.0.0 (https://github.com/ansible-collections/community.general/pull/8479).
|
||||
minor_changes:
|
||||
- CmdRunner module util - argument formats can be specified as plain functions without calling ``cmd_runner_fmt.as_func()`` (https://github.com/ansible-collections/community.general/pull/8479).
|
Loading…
Add table
Add a link
Reference in a new issue