mirror of
https://github.com/ansible-middleware/keycloak.git
synced 2025-09-02 19:31:09 -07:00
#190: remove keycloak_quarkus_admin_user[_pass]
once keycloak is bootstrapped
This commit is contained in:
parent
9a961f743b
commit
289b4767e0
8 changed files with 59 additions and 6 deletions
16
roles/keycloak_quarkus/tasks/bootstrapped.yml
Normal file
16
roles/keycloak_quarkus/tasks/bootstrapped.yml
Normal file
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
- name: Write ansible custom facts
|
||||
become: true
|
||||
ansible.builtin.template:
|
||||
src: keycloak.fact.j2
|
||||
dest: /etc/ansible/facts.d/keycloak.fact
|
||||
mode: '0644'
|
||||
vars:
|
||||
bootstrapped: true
|
||||
|
||||
- name: Re-read custom facts
|
||||
ansible.builtin.setup:
|
||||
filter: ansible_local
|
||||
|
||||
- name: Ensure that `KEYCLOAK_ADMIN[_PASSWORD]` get purged
|
||||
ansible.builtin.include_tasks: systemd.yml
|
Loading…
Add table
Add a link
Reference in a new issue