mirror of
https://github.com/ansible/awx.git
synced 2024-10-27 17:55:10 +03:00
parent
f57fff732e
commit
0c0cacb0d6
@ -90,18 +90,11 @@ def main():
|
||||
exec(open(akit_args.akit_script).read(), globals())
|
||||
except Exception as e:
|
||||
exc = e
|
||||
raise exc
|
||||
raise
|
||||
except Exception as e:
|
||||
exc = e
|
||||
rc = 1
|
||||
|
||||
if akit_args.non_interactive:
|
||||
if exc:
|
||||
traceback.print_exc(exc)
|
||||
os._exit(rc)
|
||||
|
||||
if exc:
|
||||
raise exc
|
||||
raise
|
||||
|
||||
|
||||
def as_user(username, password=None):
|
||||
|
Loading…
Reference in New Issue
Block a user