wildfly icon indicating copy to clipboard operation
wildfly copied to clipboard

'Wait for wildfly to start' task gets stuck when using journald

Open onitake opened this issue 5 years ago • 0 comments

The task in configure.yml that checks for a running wildfly instance doesn't work when logging only to the systemd journal and not log files on disk:

    - name: Wait for wildfly to start
      wait_for:
        path: "{{ wildfly_server_log }}"
        search_regex: 'started in'

It would be better to check for service state instead, or, alternatively, consult the journal.

onitake avatar Feb 11 '20 17:02 onitake