mirror of
https://github.com/ansible-middleware/keycloak.git
synced 2026-05-16 22:42:11 +00:00
add role keycloak_quarkus
This commit is contained in:
15
roles/keycloak_quarkus/tasks/start.yml
Normal file
15
roles/keycloak_quarkus/tasks/start.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
---
|
||||
- name: "Start {{ keycloak.service_name }} service"
|
||||
ansible.builtin.systemd:
|
||||
name: keycloak
|
||||
enabled: yes
|
||||
state: started
|
||||
become: yes
|
||||
|
||||
- name: "Wait until {{ keycloak.service_name }} becomes active {{ keycloak.health_url }}"
|
||||
ansible.builtin.uri:
|
||||
url: "{{ keycloak.health_url }}"
|
||||
register: keycloak_status
|
||||
until: keycloak_status.status == 200
|
||||
retries: 25
|
||||
delay: 10
|
||||
Reference in New Issue
Block a user