Merge pull request #124 from grobinson-blockchain/master
Fix overwrite check testing the name of the vhost rather than setting…
This commit is contained in:
commit
5e4575d702
@ -94,7 +94,7 @@ nginx_vhost_available_dir:
|
|||||||
- template: jinja
|
- template: jinja
|
||||||
- context:
|
- context:
|
||||||
config: {{ settings.config|json() }}
|
config: {{ settings.config|json() }}
|
||||||
{% if 'overwrite' in vhost and vhost.overwrite == False %}
|
{% if 'overwrite' in settings and settings.overwrite == False %}
|
||||||
- unless:
|
- unless:
|
||||||
- test -e {{ vhost_curpath(vhost) }}
|
- test -e {{ vhost_curpath(vhost) }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user