Debug molecule in gh workflow
This commit is contained in:
		
							parent
							
								
									4a6b0e299c
								
							
						
					
					
						commit
						d90c9685c4
					
				@ -38,12 +38,23 @@
 | 
				
			|||||||
    daemon_reload: yes
 | 
					    daemon_reload: yes
 | 
				
			||||||
  when: systemdunit.changed
 | 
					  when: systemdunit.changed
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- name: start keycloak
 | 
					- block:
 | 
				
			||||||
 | 
					    - name: start keycloak
 | 
				
			||||||
      systemd:
 | 
					      systemd:
 | 
				
			||||||
        name: keycloak
 | 
					        name: keycloak
 | 
				
			||||||
        enabled: yes
 | 
					        enabled: yes
 | 
				
			||||||
        state: started
 | 
					        state: started
 | 
				
			||||||
      become: yes
 | 
					      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"
 | 
					- command: "systemctl status keycloak"
 | 
				
			||||||
  register: keycloak_service_status
 | 
					  register: keycloak_service_status
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user