Refactor Nextcloud fullstack and config tasks:

- Load proxy in fullstack
- Simplify config merging logic
- Improve handler flushing and container config update

Context: https://chatgpt.com/share/692dc9d4-a884-800f-85e5-e92471c7b52b
This commit is contained in:
2025-12-01 18:01:25 +01:00
parent 81c4d407a5
commit 116c20d61d
3 changed files with 26 additions and 31 deletions

View File

@@ -1,4 +1,4 @@
- name: "load docker and db for {{ application_id }}" - name: "load docker, db and proxy for {{ application_id }}"
include_role: include_role:
name: sys-stk-full-stateful name: sys-stk-full-stateful
vars: vars:

View File

@@ -1,5 +1,5 @@
- name: Merge all files in infinito directory (container) # Merge all (config) files in infinito directory (container)
block:
- name: Add dynamic config merging from Jinja template - name: Add dynamic config merging from Jinja template
template: template:
src: include.php.j2 src: include.php.j2

View File

@@ -1,9 +1,4 @@
--- ---
- name: "load docker, db and proxy for {{ application_id }}"
include_role:
name: sys-stk-full-stateful
vars:
- name: Setup the full docker stack - name: Setup the full docker stack
include_tasks: 01_fullstack.yml include_tasks: 01_fullstack.yml
vars: vars: