base commit

pull/26/head
ibuler@qq.com 2015-10-21 21:19:18 +08:00
parent 77131a39d4
commit 4baffed481
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ def perm_user_api(perm_info):
settings = get_object(Setting, name='default')
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
else:
is_success = False