mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
snap: use MH execute() static method (#5773)
* use MH execute() static method * add changelog fragment
This commit is contained in:
parent
217a62aca2
commit
02431341b7
2 changed files with 3 additions and 2 deletions
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():
|
||||
snap = Snap()
|
||||
snap.run()
|
||||
Snap.execute()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
Loading…
Reference in a new issue