mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 21:00:22 -07:00
ModuleHelper: added a do_raise() method to MH base class (#4660)
* ModuleHelper: added a do_raise() method to MH base class * added changelog fragment * Update changelogs/fragments/4660-mh-added-do-raise.yaml Co-authored-by: Felix Fontein <felix@fontein.de> * Update plugins/module_utils/mh/base.py Co-authored-by: Felix Fontein <felix@fontein.de> * using do_raise in CmdMixin * simplified do_raise() Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
7c9ad3082d
commit
5d72d1be2f
3 changed files with 8 additions and 4 deletions
2
changelogs/fragments/4660-mh-added-do-raise.yaml
Normal file
2
changelogs/fragments/4660-mh-added-do-raise.yaml
Normal file
|
@ -0,0 +1,2 @@
|
|||
minor_changes:
|
||||
- ModuleHelper module utils - ``ModuleHelperBase`` now has a convenience method ``do_raise`` (https://github.com/ansible-collections/community.general/pull/4660).
|
Loading…
Add table
Add a link
Reference in a new issue