mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-12-02 15:39:57 +00:00
Reference: ChatGPT conversation https://chatgpt.com/share/692def1c-a79c-800f-b7dd-35e1845424bf
21 lines
819 B
YAML
21 lines
819 B
YAML
# run_once_sys_stk_back_stateful: disabled
|
|
|
|
- name: "For '{{ application_id }}': Set database_application_id (Needed due to lazzy loading issue)"
|
|
set_fact:
|
|
database_application_id: "{{ application_id }}"
|
|
|
|
- name: "For '{{ application_id }}': Load database variables"
|
|
include_vars: "{{ item }}"
|
|
loop:
|
|
- "{{ DOCKER_VARS_FILE }}" # Important to load docker variables first so that database can use them
|
|
- "{{ DATABASE_VARS_FILE }}" # Important to load them before docker role so that backup can use them
|
|
|
|
- name: "For '{{ application_id }}': Load central RDBMS"
|
|
include_role:
|
|
name: sys-svc-rdbms
|
|
vars:
|
|
database_init: true # Initialize a custom database for the application
|
|
|
|
- name: "For '{{ application_id }}': Load sys-stk-back-stateless"
|
|
include_role:
|
|
name: sys-stk-back-stateless |