mirror of
https://github.com/ansible-middleware/keycloak.git
synced 2025-04-05 02:10:29 -07:00
ci: test alternate certs dir
This commit is contained in:
parent
d469d5df8b
commit
0fbf454279
2 changed files with 4 additions and 6 deletions
|
@ -8,8 +8,8 @@
|
|||
keycloak_quarkus_host: instance
|
||||
keycloak_quarkus_log: file
|
||||
keycloak_quarkus_https_key_file_enabled: True
|
||||
keycloak_quarkus_key_file: "{{ keycloak.home }}/conf/key.pem"
|
||||
keycloak_quarkus_cert_file: "{{ keycloak.home }}/conf/cert.pem"
|
||||
keycloak_quarkus_key_file: "/opt/keycloak/certs/key.pem"
|
||||
keycloak_quarkus_cert_file: "/opt/keycloak/certs/cert.pem"
|
||||
keycloak_quarkus_log_target: /tmp/keycloak
|
||||
roles:
|
||||
- role: keycloak_quarkus
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
---
|
||||
- name: Prepare
|
||||
hosts: all
|
||||
vars:
|
||||
version: "{{ '22.0.6' if rhbk_enable is defined and rhbk_enable else '23.0.1' }}"
|
||||
tasks:
|
||||
- name: Install sudo
|
||||
ansible.builtin.yum:
|
||||
|
@ -21,13 +19,13 @@
|
|||
- name: Create conf directory # risky-file-permissions in test user account does not exist yet
|
||||
ansible.builtin.file:
|
||||
state: directory
|
||||
path: "/opt/keycloak/keycloak-{{ version }}/conf/"
|
||||
path: "/opt/keycloak/certs/"
|
||||
mode: 0755
|
||||
|
||||
- name: Copy certificates
|
||||
ansible.builtin.copy:
|
||||
src: "{{ item }}"
|
||||
dest: "/opt/keycloak/keycloak-{{ version }}/conf/{{ item }}"
|
||||
dest: "/opt/keycloak/certs/{{ item }}"
|
||||
mode: 0444
|
||||
loop:
|
||||
- cert.pem
|
||||
|
|
Loading…
Add table
Reference in a new issue