Fix deprecation warning

This commit is contained in:
Emilien Mantel
2016-03-14 19:21:47 +01:00
parent 97aeda5678
commit 5e493c15ac

View File

@@ -3,7 +3,7 @@
- name: FAIL | Check filenames
fail: msg="Forbidden keyword default on vhost {{ item.name if item.name is string else item.name[0] }}"
when: item.filename is defined and item.filename == 'default'
with_items: nginx_vhosts
with_items: "{{ nginx_vhosts }}"
- 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] }}"