From 2968ac7f0a8b09d822a566e112fc0c8d0980007a Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Fri, 26 Sep 2025 18:22:46 +0200 Subject: [PATCH] Removed unnecessary sys-svc-webserver import --- roles/sys-svc-proxy/TODO.md | 1 + roles/sys-svc-proxy/tasks/main.yml | 7 ++----- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/roles/sys-svc-proxy/TODO.md b/roles/sys-svc-proxy/TODO.md index f759c981..f6efbbbd 100644 --- a/roles/sys-svc-proxy/TODO.md +++ b/roles/sys-svc-proxy/TODO.md @@ -2,3 +2,4 @@ - Optimize buffering - Optimize caching - Make 'proxy_hide_header Content-Security-Policy' optional by using more_header option. See [ChatGPT Conversation](https://chatgpt.com/share/6825cb39-8db8-800f-8886-0cebdfad575a) +- Refactor this role - It seems like it's just an wrapper for 'sys-stk-front-pure' which doesn't add any additional logic diff --git a/roles/sys-svc-proxy/tasks/main.yml b/roles/sys-svc-proxy/tasks/main.yml index fb159641..b8275fd8 100644 --- a/roles/sys-svc-proxy/tasks/main.yml +++ b/roles/sys-svc-proxy/tasks/main.yml @@ -1,9 +1,6 @@ - block: - name: Include dependencies include_role: - name: '{{ item }}' - loop: - - sys-stk-front-pure - - sys-svc-webserver + name: 'sys-stk-front-pure' - include_tasks: utils/run_once.yml - when: run_once_sys_svc_proxy is not defined + when: run_once_sys_svc_proxy is not defined and run_once_sys_stk_front_pure is not defined