mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-27 18:50:21 -07:00
[PR #9577/7fa859a3 backport][stable-10] module helper: delegate debug() to AnsibleModule (#9591)
module helper: delegate debug() to AnsibleModule (#9577)
* module helper: delegate debug() to AnsibleModule
* add changelog frag
* add comments for future
* use deprecate()
* fix errors
(cherry picked from commit 7fa859a3b8
)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
parent
fed5965518
commit
c394fbe8e9
3 changed files with 24 additions and 0 deletions
6
changelogs/fragments/9577-mh-delegate-debug.yml
Normal file
6
changelogs/fragments/9577-mh-delegate-debug.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
minor_changes:
|
||||
- MH module utils - delegate ``debug`` to the underlying ``AnsibleModule`` instance or issues a warning if an attribute already exists with that name (https://github.com/ansible-collections/community.general/pull/9577).
|
||||
deprecated_features:
|
||||
- >
|
||||
MH module utils - attribute ``debug`` definition in subclasses of MH is now deprecated, as that name will become a delegation to ``AnsibleModule`` in
|
||||
community.general 12.0.0, and any such attribute will be overridden by that delegation in that version (https://github.com/ansible-collections/community.general/pull/9577).
|
Loading…
Add table
Add a link
Reference in a new issue