2021-12-14 10:26:42 +00:00
|
|
|
---
|
|
|
|
- name: Verify
|
|
|
|
hosts: all
|
|
|
|
tasks:
|
|
|
|
- name: Populate service facts
|
|
|
|
ansible.builtin.service_facts:
|
2021-12-15 11:33:42 +00:00
|
|
|
- name: Check if keycloak service started
|
2021-12-14 10:26:42 +00:00
|
|
|
assert:
|
|
|
|
that:
|
|
|
|
- ansible_facts.services["keycloak.service"]["state"] == "running"
|