Check the lenght of nginx_virtualhosts.
This commit is contained in:
parent
bb11224fb6
commit
da19e17bf2
|
@ -150,7 +150,6 @@ nginx_robots_disallowed_uris: False
|
|||
nginx_robots_disallowed_uris_list: []
|
||||
|
||||
# List any options here, ending with ;
|
||||
nginx_use_common_virthost: False
|
||||
#
|
||||
# Virtualhost example
|
||||
nginx_virthosts: []
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
when: ansible_distribution_file_variety == "RedHat"
|
||||
- import_tasks: nginx-config.yml
|
||||
- import_tasks: nginx-virtualhosts.yml
|
||||
when: nginx_use_common_virthost | bool
|
||||
when: nginx_virtualhosts | empty
|
||||
- import_tasks: robots-txt.yml
|
||||
- import_tasks: nginx-logrotate.yml
|
||||
- import_tasks: nginx-letsencrypt.yml
|
||||
|
|
Loading…
Reference in New Issue