mirror of
https://github.com/ansible-middleware/keycloak.git
synced 2025-07-24 22:00:31 -07:00
ci: downstream molecule fixes
This commit is contained in:
parent
4c056d886e
commit
ac23e04d6a
1 changed files with 7 additions and 26 deletions
|
@ -32,29 +32,6 @@
|
||||||
tags:
|
tags:
|
||||||
- install
|
- install
|
||||||
|
|
||||||
- name: "Configure config for keycloak service"
|
|
||||||
ansible.builtin.template:
|
|
||||||
src: keycloak.conf.j2
|
|
||||||
dest: "{{ keycloak.home }}/conf/keycloak.conf"
|
|
||||||
owner: "{{ keycloak.service_user }}"
|
|
||||||
group: "{{ keycloak.service_group }}"
|
|
||||||
mode: '0640'
|
|
||||||
become: true
|
|
||||||
notify:
|
|
||||||
- rebuild keycloak config
|
|
||||||
- restart keycloak
|
|
||||||
|
|
||||||
- name: "Configure quarkus config for keycloak service"
|
|
||||||
ansible.builtin.template:
|
|
||||||
src: quarkus.properties.j2
|
|
||||||
dest: "{{ keycloak.home }}/conf/quarkus.properties"
|
|
||||||
owner: "{{ keycloak.service_user }}"
|
|
||||||
group: "{{ keycloak.service_group }}"
|
|
||||||
mode: '0640'
|
|
||||||
become: true
|
|
||||||
notify:
|
|
||||||
- restart keycloak
|
|
||||||
|
|
||||||
- name: Create tcpping cluster node list
|
- name: Create tcpping cluster node list
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
keycloak_quarkus_cluster_nodes: >
|
keycloak_quarkus_cluster_nodes: >
|
||||||
|
@ -69,14 +46,18 @@
|
||||||
loop: "{{ ansible_play_batch }}"
|
loop: "{{ ansible_play_batch }}"
|
||||||
when: keycloak_quarkus_ha_enabled and keycloak_quarkus_ha_discovery == 'TCPPING'
|
when: keycloak_quarkus_ha_enabled and keycloak_quarkus_ha_discovery == 'TCPPING'
|
||||||
|
|
||||||
- name: "Configure infinispan config for keycloak service"
|
- name: "Configure config files for keycloak service"
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
src: cache-ispn.xml.j2
|
src: "{{ item }}.j2"
|
||||||
dest: "{{ keycloak.home }}/conf/cache-ispn.xml"
|
dest: "{{ keycloak.home }}/conf/{{ item }}"
|
||||||
owner: "{{ keycloak.service_user }}"
|
owner: "{{ keycloak.service_user }}"
|
||||||
group: "{{ keycloak.service_group }}"
|
group: "{{ keycloak.service_group }}"
|
||||||
mode: '0640'
|
mode: '0640'
|
||||||
become: true
|
become: true
|
||||||
|
loop:
|
||||||
|
- keycloak.conf
|
||||||
|
- quarkus.properties
|
||||||
|
- cache-ispn.xml
|
||||||
notify:
|
notify:
|
||||||
- rebuild keycloak config
|
- rebuild keycloak config
|
||||||
- restart keycloak
|
- restart keycloak
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue