mirror of
https://github.com/HanXHX/ansible-nginx.git
synced 2026-11-02 03:24:04 +07:00
Improve checks SSL/TLS + vhost
This commit is contained in:
1 parent
9b6523a0b1
commit
ccba868390
1 file changed
+5
@@ -1,5 +1,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
|
||||
with_items: nginx_vhosts
|
||||
|
||||
- name: FILE | Create root directory
|
||||
file: >
|
||||
path={{ nginx_root }}
|
||||
|
||||
Reference in new issue
Block a user