Skip to content

Commit

Permalink
fix: Create path for stream template deployment location (#480)
Browse files Browse the repository at this point in the history
  • Loading branch information
alessfg authored Sep 24, 2024
1 parent 4587658 commit 663442a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/config/template-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 663442a

Please sign in to comment.