mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-18 17:55:09 +02:00
36 lines
1.0 KiB
YAML
36 lines
1.0 KiB
YAML
---
|
|
- name: "create import files for {{ application_id }}"
|
|
include_tasks: 01_import.yml
|
|
|
|
- name: "load required 'web-svc-logout' for {{ application_id }}"
|
|
include_role:
|
|
name: web-svc-logout
|
|
when: run_once_web_svc_logout is not defined
|
|
|
|
- name: "load docker, db and proxy for {{ application_id }}"
|
|
include_role:
|
|
name: cmp-db-docker-proxy
|
|
vars:
|
|
docker_compose_flush_handlers: true
|
|
|
|
- name: "Wait until Keycloak is reachable at {{ KEYCLOAK_SERVER_HOST_URL }}"
|
|
uri:
|
|
url: "{{ KEYCLOAK_SERVER_HOST_URL }}/realms/master"
|
|
method: GET
|
|
status_code: 200
|
|
validate_certs: false
|
|
register: kc_up
|
|
retries: 30
|
|
delay: 5
|
|
until: kc_up.status == 200
|
|
|
|
- name: "Apply client redirects without realm import"
|
|
include_tasks: 02_update_client_redirects.yml
|
|
|
|
- name: "Update LDAP bind credentials from ldap.*"
|
|
when: KEYCLOAK_UPDATE_LDAP_BIND | bool
|
|
include_tasks: 03_update-ldap-bind.yml
|
|
|
|
# Deactivated temporary. Import now via realm.yml
|
|
#- name: Implement SSH Public Key Attribut
|
|
# include_tasks: 03_ssh_public_key.yml |