mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
Fix packaging/os modules for wildcard imports and get_exception
This commit is contained in:
@@ -66,8 +66,7 @@ EXAMPLES = '''
|
||||
state: latest
|
||||
'''
|
||||
|
||||
import os
|
||||
import pipes
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
|
||||
|
||||
def package_installed(module, name):
|
||||
@@ -225,8 +224,6 @@ def main():
|
||||
|
||||
module.exit_json(**result)
|
||||
|
||||
# import module snippets
|
||||
from ansible.module_utils.basic import *
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user