mirror of
https://github.com/ansible-middleware/keycloak.git
synced 2025-09-29 13:03:31 -07:00
Update molecule test for keystore vault
This commit is contained in:
parent
f7bcac79d0
commit
cd8d61afc3
3 changed files with 29 additions and 6 deletions
|
@ -21,7 +21,12 @@
|
|||
path: "/opt/keycloak/certs/"
|
||||
mode: 0755
|
||||
|
||||
- name: Copy certificates
|
||||
- name: Create vault keystore
|
||||
ansible.builtin.command: keytool -importpass -alias TestRealm_testalias -keystore keystore.p12 -storepass keystorepassword
|
||||
delegate_to: localhost
|
||||
changed_when: False
|
||||
|
||||
- name: Copy certificates and vault
|
||||
become: yes
|
||||
ansible.builtin.copy:
|
||||
src: "{{ item }}"
|
||||
|
@ -30,3 +35,4 @@
|
|||
loop:
|
||||
- cert.pem
|
||||
- key.pem
|
||||
- keystore.p12
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue