Skip to content

Commit

Permalink
fix: Default path for stream template deployment location (#479)
Browse files Browse the repository at this point in the history
  • Loading branch information
alessfg authored Sep 24, 2024
1 parent ba3cba2 commit 4587658
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
4 changes: 2 additions & 2 deletions tasks/config/template-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 4587658

Please sign in to comment.