diff --git a/tasks/main.yml b/tasks/main.yml index 98dcd63b7d576314036301a39968d3cac06aa671..881e82328f53ae49a0a3af6f0b0c35015b46a99c 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -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