mirror of
https://github.com/ansible-middleware/keycloak.git
synced 2025-07-28 07:31:30 -07:00
ci: downstream molecule fixes
This commit is contained in:
parent
213a9a0766
commit
4c056d886e
1 changed files with 3 additions and 2 deletions
|
@ -15,7 +15,7 @@
|
||||||
changed_when: False
|
changed_when: False
|
||||||
|
|
||||||
- name: Create conf directory # risky-file-permissions in test user account does not exist yet
|
- name: Create conf directory # risky-file-permissions in test user account does not exist yet
|
||||||
become: yes
|
become: true
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
state: directory
|
state: directory
|
||||||
path: "/opt/keycloak/certs/"
|
path: "/opt/keycloak/certs/"
|
||||||
|
@ -25,6 +25,7 @@
|
||||||
ansible.builtin.package:
|
ansible.builtin.package:
|
||||||
name: java-17-openjdk-headless
|
name: java-17-openjdk-headless
|
||||||
state: present
|
state: present
|
||||||
|
become: true
|
||||||
|
|
||||||
- name: Create vault keystore
|
- name: Create vault keystore
|
||||||
ansible.builtin.command: keytool -importpass -alias TestRealm_testalias -keystore keystore.p12 -storepass keystorepassword
|
ansible.builtin.command: keytool -importpass -alias TestRealm_testalias -keystore keystore.p12 -storepass keystorepassword
|
||||||
|
@ -34,7 +35,7 @@
|
||||||
failed_when: not 'already exists' in keytool_cmd.stdout and keytool_cmd.rc != 0
|
failed_when: not 'already exists' in keytool_cmd.stdout and keytool_cmd.rc != 0
|
||||||
|
|
||||||
- name: Copy certificates and vault
|
- name: Copy certificates and vault
|
||||||
become: yes
|
become: true
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: "{{ item }}"
|
src: "{{ item }}"
|
||||||
dest: "/opt/keycloak/certs/{{ item }}"
|
dest: "/opt/keycloak/certs/{{ item }}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue