You've already forked community.general
mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-29 07:41:16 +03:00
snap: use MH execute() static method (#5773)
* use MH execute() static method * add changelog fragment
This commit is contained in:
2
changelogs/fragments/5773-snap-mh-execute.yml
Normal file
2
changelogs/fragments/5773-snap-mh-execute.yml
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
minor_changes:
|
||||||
|
- snap - minor refactor when executing module (https://github.com/ansible-collections/community.general/pull/5773).
|
@ -399,8 +399,7 @@ class Snap(CmdStateModuleHelper):
|
|||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
snap = Snap()
|
Snap.execute()
|
||||||
snap.run()
|
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
Reference in New Issue
Block a user