File tree Expand file tree Collapse file tree 5 files changed +5
-1
lines changed Expand file tree Collapse file tree 5 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ BUG FIXES:
1717- The default PID path has changed as of NGINX 1.27.5 and 1.28.0.
1818- Properly wrap ` http_version ` number in quotes in both the template defaults and Molecule tests.
1919- NGINX ` set_real_ip_from ` directive template parameter should be a list.
20+ - Fix backup parameter for stream templates.
2021
2122TESTS:
2223
Original file line number Diff line number Diff line change @@ -794,6 +794,7 @@ nginx_config_stream_template_enable: false
794794nginx_config_stream_template :
795795 - template_file : stream/default.conf.j2
796796 deployment_location : /etc/nginx/conf.d/streams/stream_default.conf
797+ backup : true
797798 config :
798799 upstreams : # Configure upstreams
799800 - name : stream_upstream # Required
Original file line number Diff line number Diff line change 760760 nginx_config_stream_template :
761761 - template_file : stream/default.conf.j2
762762 deployment_location : /etc/nginx/conf.d/streams/stream_default.conf
763+ backup : true
763764 config :
764765 upstreams :
765766 - name : stream_upstream
Original file line number Diff line number Diff line change 656656 nginx_config_stream_template :
657657 - template_file : stream/default.conf.j2
658658 deployment_location : /etc/nginx/conf.d/streams/stream_default.conf
659+ backup : true
659660 config :
660661 upstreams :
661662 - name : stream_upstream
Original file line number Diff line number Diff line change 121121 ansible.builtin.template :
122122 src : " {{ item['template_file'] | default('stream/default.conf.j2') }}"
123123 dest : " {{ item['deployment_location'] | default('/etc/nginx/conf.d/stream/stream_default.conf') }}"
124- backup : true
124+ backup : " {{ item['backup'] | default( true) }} "
125125 mode : " 0644"
126126 loop : " {{ nginx_config_stream_template }}"
127127 loop_control :
You can’t perform that action at this time.
0 commit comments