main.ymlΒΆ

---
- name: "🧩 For '{{ application_id }}': load docker, db and proxy"
  include_role:
    name: sys-stk-full
  vars:
    webserver_client_max_body_size: "100m"
    compose_handlers_flush: false

- name: "πŸš€ Deploy the shared JVM CA trust wrapper for the backend"
  stack_host_copy:
    src: "{{ lookup('path_absolute', 'roles/sys-ca-selfsigned/files/shell/java-with-ca-trust.sh') }}"
    dest: "{{ [ lookup('container', application_id, 'directories.instance'), 'java-with-ca-trust.sh' ] | path_join }}"
    mode: "0755"
  notify: compose-up

- name: "🚿 Flush docker service for '{{ application_id }}'"
  ansible.builtin.meta: flush_handlers

- name: "πŸ₯Ύ Bootstrap the Penpot administrator's local account"
  ansible.builtin.include_tasks: 01_administrator.yml
  when:
    - IS_STACK_HOST | bool
    - PENPOT_NATIVE_LOGIN_ENABLED | bool