Restore the previous behaviour.

This commit is contained in:
Andrea Dell'Amico 2022-10-13 17:04:14 +02:00
parent 10fcf1a5cf
commit 2c62fcff8c
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
2 changed files with 3 additions and 1 deletions

View File

@ -149,6 +149,8 @@ nginx_robots_disallowed_useragent_list:
nginx_robots_disallowed_uris: False
nginx_robots_disallowed_uris_list: []
# Set this to True to use the provided virtualhost template.
nginx_use_common_virthost: False
# List any options here, ending with ;
#
# Virtualhost example

View File

@ -5,7 +5,7 @@
when: ansible_distribution_file_variety == "RedHat"
- import_tasks: nginx-config.yml
- import_tasks: nginx-virtualhosts.yml
when: nginx_virtualhosts | length
when: nginx_use_common_virthost
- import_tasks: robots-txt.yml
- import_tasks: nginx-logrotate.yml
- import_tasks: nginx-letsencrypt.yml