def set_module_args(args):
    'prepare arguments so that they will be picked up during module creation'
    args = json.dumps({'ANSIBLE_MODULE_ARGS': args})
    basic._ANSIBLE_ARGS = to_bytes(args)
prepare arguments so that they will be picked up during module creation
def set_module_args(args):
    
    args = json.dumps({'ANSIBLE_MODULE_ARGS': args})
    basic._ANSIBLE_ARGS = to_bytes(args)