---
- include_tasks: utils/once/flag.yml
- name: "π§© load docker and db for {{ application_id }}"
include_role:
name: sys-stk-backend
vars:
compose_handlers_flush: false
compose_repository_pull: false
- name: "π Create shared object-store network for '{{ application_id }}'"
include_tasks: "{{ lookup('path_absolute', 'roles/sys-svc-compose/tasks/utils/network/create.yml') }}"
vars:
network_role_id: "{{ application_id }}"
- name: "βΆοΈ Start the MinIO stack"
ansible.builtin.meta: flush_handlers
- name: "π Include role sys-stk-front-proxy for '{{ application_id }}'"
include_role:
name: sys-stk-front-proxy
vars:
domain: "{{ minio_proxy.domain }}"
http_port: "{{ minio_proxy.http_port }}"
loop: "{{ MINIO_FRONT_PROXY_MATRIX }}"
loop_control:
loop_var: minio_proxy
label: "{{ minio_proxy.domain }} -> {{ minio_proxy.http_port }}"
- name: "π§ Configure MinIO OIDC (Keycloak as named IdP + policy)"
ansible.builtin.include_tasks:
file: 01_oidc.yml
apply:
no_log: "{{ MASK_CREDENTIALS_IN_LOGS | bool }}"
when: MINIO_OIDC_ENABLED | bool
- name: "π Bind the MinIO administrator policy to the LDAP group (LDAP variant)"
ansible.builtin.include_tasks:
file: 02_ldap.yml
apply:
no_log: "{{ MASK_CREDENTIALS_IN_LOGS | bool }}"
when: MINIO_LDAP_ENABLED | bool