From 663442a2b9fe768063840732f9196df5a3f7726d Mon Sep 17 00:00:00 2001 From: Alessandro Fael Garcia Date: Tue, 24 Sep 2024 13:02:28 -0800 Subject: [PATCH] fix: Create path for stream template deployment location (#480) --- tasks/config/template-config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/config/template-config.yml b/tasks/config/template-config.yml index 8229d591..d5869c7c 100644 --- a/tasks/config/template-config.yml +++ b/tasks/config/template-config.yml @@ -109,12 +109,12 @@ - name: Ensure NGINX stream directory exists ansible.builtin.file: - path: "{{ item['deployment_location'] | default('/etc/nginx/conf.d/') | dirname }}" + path: "{{ item['deployment_location'] | default('/etc/nginx/conf.d/stream/') | dirname }}" state: directory mode: "0755" loop: "{{ nginx_config_stream_template }}" loop_control: - label: "{{ item['deployment_location'] | default('/etc/nginx/conf.d/') | dirname }}" + label: "{{ item['deployment_location'] | default('/etc/nginx/conf.d/stream/') | dirname }}" when: nginx_config_stream_template_enable | bool - name: Dynamically generate NGINX stream config files