Skip to content

Instantly share code, notes, and snippets.

@ciis0
Created August 13, 2020 10:52
Show Gist options
  • Save ciis0/7151f1e43e9d55a6953378ceb91e02ad to your computer and use it in GitHub Desktop.
Save ciis0/7151f1e43e9d55a6953378ceb91e02ad to your computer and use it in GitHub Desktop.
read boot erros from jboss
- hosts: AS
tasks:
- uri:
url: 'http://{{ inventory_hostname }}:9990/management'
url_username: '{{ jboss_eap_console_user }}'
url_password: '{{ jboss_eap_console_passwd }}'
method: POST
body_format: json
body:
address:
core-service: management
operation: read-boot-errors
register: jboss_boot_errors_result
- assert:
that:
- jboss_boot_errors_result.json.result | length == 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment