mirror of
https://github.com/ansible-middleware/keycloak.git
synced 2026-03-26 21:33:03 +00:00
Debug molecule in gh workflow
This commit is contained in:
@@ -38,12 +38,23 @@
|
||||
daemon_reload: yes
|
||||
when: systemdunit.changed
|
||||
|
||||
- name: start keycloak
|
||||
systemd:
|
||||
name: keycloak
|
||||
enabled: yes
|
||||
state: started
|
||||
become: yes
|
||||
- block:
|
||||
- name: start keycloak
|
||||
systemd:
|
||||
name: keycloak
|
||||
enabled: yes
|
||||
state: started
|
||||
become: yes
|
||||
rescue:
|
||||
- command: "systemctl status keycloak"
|
||||
changed_when: False
|
||||
ignore_errors: True
|
||||
- command: "journalctl -xe -ukeycloak"
|
||||
changed_when: False
|
||||
ignore_errors: True
|
||||
- command: "tail -n 100 /opt/keycloak/keycloak.log"
|
||||
changed_when: False
|
||||
ignore_errors: True
|
||||
|
||||
- command: "systemctl status keycloak"
|
||||
register: keycloak_service_status
|
||||
|
||||
Reference in New Issue
Block a user