Missing conditionals.
This commit is contained in:
parent
dab721eb60
commit
bfe0009143
|
@ -48,7 +48,7 @@
|
|||
loop: '{{ nginx_conf_remote_global_conf }}'
|
||||
delegate_to: 'localhost'
|
||||
|
||||
- name: Install any remote snippet configuration file
|
||||
- name: Install any remote global configuration file
|
||||
template:
|
||||
src: '/var/tmp/{{ item.name }}'
|
||||
dest: '/etc/nginx/conf.d/{{ item.name }}.conf'
|
||||
|
|
|
@ -5,12 +5,16 @@ include /etc/nginx/snippets/nginx-websockets.conf;
|
|||
include /etc/nginx/snippets/nginx-websockets.conf;
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% if item.global_additional_options is defined %}
|
||||
{% for add_opt in item.global_additional_options %}
|
||||
{{ add_opt }};
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% if item.proxy_global_additional_options is defined %}
|
||||
{% for popt in item.proxy_global_additional_options %}
|
||||
{{ popt }};
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
{% if item.upstream_backends is defined %}
|
||||
{% for u_bk in item.upstream_backends %}
|
||||
|
|
Loading…
Reference in New Issue