def set_module_args(args): if 'auth' not in args: args['auth'] = { 'api_username': '******', 'api_password': '******', 'api_enterprise': 'csp', 'api_url': 'https://localhost:8443', 'api_version': 'v5_0' } return _set_module_args(args)
def set_module_args(args): if 'provider' not in args: args['provider'] = {'transport': args.get('transport') or 'cli'} return _set_module_args(args)
def set_module_args(args, ignore_provider=None): if 'provider' not in args and not ignore_provider: args['provider'] = {'transport': args.get('transport') or 'cli'} return _set_module_args(args)