Fix the filter.
This commit is contained in:
parent
da19e17bf2
commit
10fcf1a5cf
|
@ -5,7 +5,7 @@
|
|||
when: ansible_distribution_file_variety == "RedHat"
|
||||
- import_tasks: nginx-config.yml
|
||||
- import_tasks: nginx-virtualhosts.yml
|
||||
when: nginx_virtualhosts | empty
|
||||
when: nginx_virtualhosts | length
|
||||
- import_tasks: robots-txt.yml
|
||||
- import_tasks: nginx-logrotate.yml
|
||||
- import_tasks: nginx-letsencrypt.yml
|
||||
|
|
Loading…
Reference in New Issue