Quote the variable on the include

pull/100/head
David Lundgren 7 years ago
parent d82765b396
commit 41979991e5
  1. 2
      tasks/vhosts-combined.yml
  2. 2
      tasks/vhosts-individual.yml
  3. 2
      tasks/vhosts.yml

@ -17,4 +17,4 @@
path: "{{ nginx_vhost_path }}/{{ nginx_vhosts_filename }}"
state: absent
when: nginx_vhosts|length == 0
notify: reload nginx
notify: reload nginx

@ -23,4 +23,4 @@
file:
path: "{{ nginx_vhost_path }}/vhosts.conf"
state: absent
notify: reload nginx
notify: reload nginx

@ -12,4 +12,4 @@
state: directory
notify: reload nginx
- include: vhosts-{{ nginx_vhost_style }}.yml
- include: "vhosts-{{ nginx_vhost_style }}.yml"