no oficial docs, but this is from the new ansible binary in devel:
except AnsibleOptionsError as e:
cli.parser.print_help()
display.error(str(e), wrap_text=False)
sys.exit(5)
except AnsibleParserError as e:
display.error(str(e), wrap_text=False)
sys.exit(4)
except AnsibleHostUnreachable as e:
display.error(str(e))
sys.exit(3)
except AnsibleHostFailed as e:
display.error(str(e))
sys.exit(2)
except AnsibleError as e:
display.error(str(e), wrap_text=False)
sys.exit(1)
except KeyboardInterrupt:
display.error("User interrupted execution")
sys.exit(99)
except Exception as e:
display.error("Unexpected Exception: %s" % str(e), wrap_text=False)
sys.exit(250)
--
Brian Coca
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/CAJ5XC8%3DrCuqOhwvMeRgw_JNYUbyhG3XSrSppkUU-5Bq-5-u%3DNg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.