Required to move handler reloading one level higher

This commit is contained in:
2025-09-22 21:07:34 +02:00
parent 7ca3a73f21
commit 1f3abb95af
3 changed files with 11 additions and 11 deletions

View File

@@ -1,4 +1,4 @@
# sys-svc-cdn # Content Delivery Network
CDN helper role for building a consistent asset tree, URLs, and on-disk layout. CDN helper role for building a consistent asset tree, URLs, and on-disk layout.

View File

@@ -6,16 +6,6 @@
- application_id != 'web-svc-cdn' - application_id != 'web-svc-cdn'
- run_once_web_svc_cdn is not defined - run_once_web_svc_cdn is not defined
- name: Overwritte CDN handlers with neutral handlers
ansible.builtin.include_tasks: "{{ [ playbook_dir, 'tasks/utils/load_handlers.yml'] | path_join }}"
loop:
- svc-prx-openresty
- docker-compose
loop_control:
label: "{{ item }}"
vars:
handler_role_name: "{{ item }}"
# ------------------------------------------------------------------ # ------------------------------------------------------------------
# Only-once creations (shared root and vendor) # Only-once creations (shared root and vendor)
# ------------------------------------------------------------------ # ------------------------------------------------------------------

View File

@@ -4,6 +4,16 @@
when: when:
- run_once_sys_svc_cdn is not defined - run_once_sys_svc_cdn is not defined
- name: Overwritte CDN handlers with neutral handlers
ansible.builtin.include_tasks: "{{ [ playbook_dir, 'tasks/utils/load_handlers.yml'] | path_join }}"
loop:
- svc-prx-openresty
- docker-compose
loop_control:
label: "{{ item }}"
vars:
handler_role_name: "{{ item }}"
- name: Ensure CDN directories exist - name: Ensure CDN directories exist
file: file:
path: "{{ item }}" path: "{{ item }}"