Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
onitake opened this issue Feb 11, 2020 · 0 comments
Open

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

onitake opened this issue Feb 11, 2020 · 0 comments

Comments

@onitake
Copy link
Contributor

onitake commented Feb 11, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant