fix loops
This commit is contained in:
parent
303c624b0d
commit
1b025437b7
1 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@
|
|||
src: templates/apache_vhost.j2
|
||||
mode: 0644
|
||||
backup: yes
|
||||
loop: vhosts
|
||||
loop: "{{ vhosts }}"
|
||||
|
||||
- name: Create auth user file
|
||||
htpasswd:
|
||||
|
@ -21,5 +21,5 @@
|
|||
state: link
|
||||
src: "/etc/apache2/sites-available/25-{{ item.vhost_name }}.conf"
|
||||
path: "/etc/apache2/sites-enabled/25-{{ item.vhost_name }}.conf"
|
||||
loop: vhosts
|
||||
loop: "{{ vhosts }}"
|
||||
notify: Restart Apache2
|
Loading…
Reference in a new issue