apache2: Fix certificate existence check
This commit is contained in:
parent
5ff2d709a7
commit
70bdf4e89a
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
apache2_vhost_serveradmin: root@localhost
|
apache2_vhost_serveradmin: webmaster@localhost
|
||||||
apache2_vhost_serveraliases: []
|
apache2_vhost_serveraliases: []
|
||||||
apache2_vhost_documentroot: /var/www/html
|
apache2_vhost_documentroot: /var/www/html
|
||||||
apache2_vhost_loglevel: warn
|
apache2_vhost_loglevel: warn
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
{%- if site.https_enabled | default(apache2_vhost_https_enabled) -%}
|
{%- if site.https_enabled | default(apache2_vhost_https_enabled) -%}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
{%- set _x = files.append(site.tls_certfile | default(apache2_tls_certfile)) -%}
|
{%- set _x = files.append(site.tls_certfile | default(apache2_tls_certfile)) -%}
|
||||||
{%- set _x = files.append(site.tls_keytfile | default(apache2_tls_keyfile)) -%}
|
{%- set _x = files.append(site.tls_keyfile | default(apache2_tls_keyfile)) -%}
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
{{- files | unique | list -}}
|
{{- files | unique | list -}}
|
||||||
register: apache2_register_stat_tls_keypairs
|
register: apache2_register_stat_tls_keypairs
|
||||||
|
|
Loading…
Reference in a new issue