Fix packaging/os modules for wildcard imports and get_exception

This commit is contained in:
Toshio Kuratomi 2018-02-01 16:30:08 -08:00
commit a5b80464df
17 changed files with 48 additions and 46 deletions

View file

@ -75,6 +75,8 @@ EXAMPLES = '''
origin: 'https://pkg.example.com/site/'
'''
from ansible.module_utils.basic import AnsibleModule
def main():
module = AnsibleModule(
@ -205,7 +207,5 @@ def unstringify(val):
return val
from ansible.module_utils.basic import *
if __name__ == '__main__':
main()