00_core.ymlΒΆ

---
- include_tasks: utils/once/flag.yml

- name: "🧩 load docker, db/redis and proxy for {{ application_id }}"
  include_role:
    name: sys-stk-full
  vars:
    compose_handlers_flush: false

- name: "🎬 Stage SSO bridge and theme build files for {{ application_id }}"
  stack_host_copy:
    src: "{{ item.src }}"
    dest: "{{ [ lookup('container', application_id, 'directories.instance'), item.dest ] | path_join }}"
    mode: "0644"
  loop:
    - { src: "sso/header_auth.py", dest: "header_auth.py" }
    - { src: "sso/settings_patch.py", dest: "settings_patch.py" }
    - { src: "scss/infinito.scss", dest: "infinito.scss" }
  notify:
    - compose-build
    - compose-up

- name: "🚿 Flush compose handlers for {{ application_id }}"
  ansible.builtin.meta: flush_handlers

- name: "πŸ›οΈ Converge the administrator, title, logos and theme of {{ application_id }}"
  ansible.builtin.include_tasks: 01_site.yml