Fix variable check
parent
53b9dc078e
commit
2f6f2d4362
|
@ -2,7 +2,10 @@
|
|||
|
||||
- name: FAIL | Check vhost and SSL/TLS support
|
||||
fail: msg="Missmatch configuration for vhost {{ item.name if item.name is string else item.name[0] }}"
|
||||
when: 'https' in item.proto and item.ssl_name is not defined
|
||||
when: >
|
||||
item.proto is defined and
|
||||
'https' in item.proto and
|
||||
item.ssl_name is not defined
|
||||
with_items: nginx_vhosts
|
||||
|
||||
- name: FILE | Create root directory
|
||||
|
|
Loading…
Reference in New Issue