mirror of
https://github.com/ansible-middleware/keycloak.git
synced 2025-07-30 00:21:36 -07:00
add test
This commit is contained in:
parent
7f021a849e
commit
d97ddbde3c
3 changed files with 19 additions and 1 deletions
|
@ -11,6 +11,14 @@
|
|||
- ansible_facts.services["keycloak.service"]["state"] == "running"
|
||||
- ansible_facts.services["keycloak.service"]["status"] == "enabled"
|
||||
|
||||
- name: Verify we are running on requested JAVA_HOME # noqa blocked_modules command-instead-of-module
|
||||
ansible.builtin.shell: |
|
||||
set -o pipefail
|
||||
ps -ef | grep '/opt/openjdk' | grep -v grep
|
||||
args:
|
||||
executable: /bin/bash
|
||||
changed_when: False
|
||||
|
||||
- name: Set internal envvar
|
||||
ansible.builtin.set_fact:
|
||||
hera_home: "{{ lookup('env', 'HERA_HOME') }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue