From 458765896f0f14905afb5232035b21984ff5cc02 Mon Sep 17 00:00:00 2001 From: Alessandro Fael Garcia Date: Tue, 24 Sep 2024 09:35:07 -0800 Subject: [PATCH] fix: Default path for stream template deployment location (#479) --- CHANGELOG.md | 1 + tasks/config/template-config.yml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6dacfba3..2eef50b6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ FEATURES: BUG FIXES: +- Fix the default path for the stream template deployment location. - Fix incompatibility when using the `listen` directive and setting both the `quic` and `so_keepalive` parameters. - Correct cleanup error when `nginx_config_cleanup_paths` is not defined. diff --git a/tasks/config/template-config.yml b/tasks/config/template-config.yml index e9214961..8229d591 100644 --- a/tasks/config/template-config.yml +++ b/tasks/config/template-config.yml @@ -120,11 +120,11 @@ - name: Dynamically generate NGINX stream config files ansible.builtin.template: src: "{{ item['template_file'] | default('stream/default.conf.j2') }}" - dest: "{{ item['deployment_location'] | default('/etc/nginx/conf.d/stream_default.conf') }}" + dest: "{{ item['deployment_location'] | default('/etc/nginx/conf.d/stream/stream_default.conf') }}" backup: true mode: "0644" loop: "{{ nginx_config_stream_template }}" loop_control: - label: "{{ item['deployment_location'] | default('/etc/nginx/conf.d/stream_default.conf') }}" + label: "{{ item['deployment_location'] | default('/etc/nginx/conf.d/stream/stream_default.conf') }}" notify: (Handler - NGINX Config) Run NGINX when: nginx_config_stream_template_enable | bool