Ensure default nginx vhost configuration is set up if none is provided
An empty string wouldn't trigger the default filter. Now it will. Change-Id: I8aba0e515b697d82c8761629553cac54cea3befa
This commit is contained in:
parent
fe3e20d26a
commit
3a0c54c489
@ -40,7 +40,7 @@
|
|||||||
block:
|
block:
|
||||||
- name: Set up the ARA API nginx vhost
|
- name: Set up the ARA API nginx vhost
|
||||||
template:
|
template:
|
||||||
src: "{{ ara_api_frontend_vhost | default('ara-api.conf.j2') }}"
|
src: "{{ ara_api_frontend_vhost | default('ara-api.conf.j2', True) }}"
|
||||||
dest: "{{ ara_nginx_config_path }}/ara-api.conf"
|
dest: "{{ ara_nginx_config_path }}/ara-api.conf"
|
||||||
notify:
|
notify:
|
||||||
- restart nginx
|
- restart nginx
|
||||||
@ -58,7 +58,7 @@
|
|||||||
block:
|
block:
|
||||||
- name: Set up the ARA API nginx vhost
|
- name: Set up the ARA API nginx vhost
|
||||||
template:
|
template:
|
||||||
src: "{{ ara_web_frontend_vhost | default('ara-web.conf.j2') }}"
|
src: "{{ ara_web_frontend_vhost | default('ara-web.conf.j2', True) }}"
|
||||||
dest: "{{ ara_nginx_config_path }}/ara-web.conf"
|
dest: "{{ ara_nginx_config_path }}/ara-web.conf"
|
||||||
notify:
|
notify:
|
||||||
- restart nginx
|
- restart nginx
|
||||||
|
Loading…
x
Reference in New Issue
Block a user