updated keycloak
This commit is contained in:
parent
19fd411585
commit
d42d70d7a7
@ -46,21 +46,28 @@
|
||||
path: /opt/keycloak/keycloak-21.0.1
|
||||
register: keycloak_exists
|
||||
|
||||
- name: Extract keycloak-21.0.1.zip to /opt/keycloak
|
||||
- name: Download keycloak-zip
|
||||
ansible.builtin.get_url:
|
||||
url: https://github.com/keycloak/keycloak/releases/download/21.1.1/keycloak-21.1.1.zip
|
||||
dest: /opt/ansiblepackages/keycloak-21.1.1.zip
|
||||
mode: '0400'
|
||||
|
||||
- name: Extract keycloak-211.1.zip to /opt/keycloak
|
||||
unarchive:
|
||||
src: keycloak-21.0.1.zip
|
||||
src: /opt/ansiblepackages/keycloak-21.1.1.zip
|
||||
dest: /opt/keycloak
|
||||
owner: keycloak
|
||||
group: keycloak
|
||||
remote_src: yes
|
||||
when: not keycloak_exists.stat.exists or redeploy is defined
|
||||
|
||||
- name: link /opt/keycloak/keycloak-21.0.1 to /opt/keycloak/current
|
||||
- name: link /opt/keycloak/keycloak-21.1.1 to /opt/keycloak/current
|
||||
file:
|
||||
state: link
|
||||
owner: keycloak
|
||||
group: keycloak
|
||||
mode: '0770'
|
||||
src: /opt/keycloak/keycloak-21.0.1
|
||||
src: /opt/keycloak/keycloak-21.1.1
|
||||
dest: /opt/keycloak/current
|
||||
|
||||
##build once
|
||||
@ -87,7 +94,7 @@
|
||||
dest: /opt/keycloak
|
||||
owner: keycloak
|
||||
group: keycloak
|
||||
mode: "0770"
|
||||
# mode: "0770"
|
||||
recurse: yes
|
||||
|
||||
- name: generate /etc/systemd/system/keycloak.service
|
||||
|
Loading…
Reference in New Issue
Block a user