mirror of https://github.com/jumpserver/jumpserver
base commit
parent
77131a39d4
commit
4baffed481
|
@ -96,7 +96,7 @@ def perm_user_api(perm_info):
|
||||||
|
|
||||||
settings = get_object(Setting, name='default')
|
settings = get_object(Setting, name='default')
|
||||||
results = playbook_run(inventory, playbook, settings)
|
results = playbook_run(inventory, playbook, settings)
|
||||||
if not results.get('failed', 1) and not results.get('unreachable', ''):
|
if not results.get('failures', 1) and not results.get('unreachable', ''):
|
||||||
is_success = True
|
is_success = True
|
||||||
else:
|
else:
|
||||||
is_success = False
|
is_success = False
|
||||||
|
|
Loading…
Reference in New Issue