mirror of
https://github.com/ansible-middleware/keycloak.git
synced 2026-06-13 12:05:54 +00:00
#190: remove keycloak_quarkus_admin_user[_pass] once keycloak is bootstrapped
This commit is contained in:
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
|
||||
Reference in New Issue
Block a user