mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
[PR #5773/02431341 backport][stable-6] snap: use MH execute() static method (#5774)
snap: use MH execute() static method (#5773)
* use MH execute() static method
* add changelog fragment
(cherry picked from commit 02431341b7)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
@@ -399,8 +399,7 @@ class Snap(CmdStateModuleHelper):
|
||||
|
||||
|
||||
def main():
|
||||
snap = Snap()
|
||||
snap.run()
|
||||
Snap.execute()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
Reference in New Issue
Block a user