Skip to content
Snippets Groups Projects
Commit b32385d6 authored by Felix Schäfer's avatar Felix Schäfer :construction_worker:
Browse files

truthy values

parent 37f2c127
No related branches found
No related tags found
No related merge requests found
Pipeline #56478 passed
......@@ -17,13 +17,13 @@
- libpostgresql-jdbc-java
- python-lxml
state: present
update_cache: yes
update_cache: true
cache_valid_time: 3600
- name: Create keycloak group
group:
name: keycloak
system: yes
system: true
- name: Create keycloak user
user:
......@@ -31,7 +31,7 @@
comment: "keycloak user"
group: keycloak
home: "{{ keycloak_dir }}"
system: yes
system: true
- name: Check if Keycloak is already installed
stat:
......@@ -44,7 +44,7 @@
dest: "{{ keycloak_dir }}"
owner: root
group: root
remote_src: yes
remote_src: true
when: not keycloak_directory.stat.exists
notify: restart keycloak
......@@ -53,7 +53,7 @@
owner: keycloak
group: keycloak
path: "{{ keycloak_jboss_home }}/standalone"
recurse: yes
recurse: true
- name: Create postgresql module folder in keycloak
file:
......@@ -77,7 +77,7 @@
xml:
path: "{{ keycloak_jboss_home }}/standalone/configuration/standalone.xml"
xpath: /x:server/x:profile/y:subsystem/y:datasources/y:drivers/y:driver[@name='postgresql']
count: yes
count: true
namespaces:
x: urn:jboss:domain:18.0
y: urn:jboss:domain:datasources:6.0
......@@ -163,6 +163,6 @@
get_url:
dest: "{{ keycloak_jboss_home }}/standalone/deployments/{{ item.name }}"
url: "{{ item.url }}"
force: yes
force: true
with_items: "{{ keycloak_custom_deployments }}"
notify: restart keycloak
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment