Skip to content

Commit 663442a

Browse files
authored
fix: Create path for stream template deployment location (#480)
1 parent 4587658 commit 663442a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tasks/config/template-config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,12 +109,12 @@
109109

110110
- name: Ensure NGINX stream directory exists
111111
ansible.builtin.file:
112-
path: "{{ item['deployment_location'] | default('/etc/nginx/conf.d/') | dirname }}"
112+
path: "{{ item['deployment_location'] | default('/etc/nginx/conf.d/stream/') | dirname }}"
113113
state: directory
114114
mode: "0755"
115115
loop: "{{ nginx_config_stream_template }}"
116116
loop_control:
117-
label: "{{ item['deployment_location'] | default('/etc/nginx/conf.d/') | dirname }}"
117+
label: "{{ item['deployment_location'] | default('/etc/nginx/conf.d/stream/') | dirname }}"
118118
when: nginx_config_stream_template_enable | bool
119119

120120
- name: Dynamically generate NGINX stream config files

0 commit comments

Comments
 (0)