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
|
src: templates/apache_vhost.j2
|
||||||
mode: 0644
|
mode: 0644
|
||||||
backup: yes
|
backup: yes
|
||||||
loop: vhosts
|
loop: "{{ vhosts }}"
|
||||||
|
|
||||||
- name: Create auth user file
|
- name: Create auth user file
|
||||||
htpasswd:
|
htpasswd:
|
||||||
|
@ -21,5 +21,5 @@
|
||||||
state: link
|
state: link
|
||||||
src: "/etc/apache2/sites-available/25-{{ item.vhost_name }}.conf"
|
src: "/etc/apache2/sites-available/25-{{ item.vhost_name }}.conf"
|
||||||
path: "/etc/apache2/sites-enabled/25-{{ item.vhost_name }}.conf"
|
path: "/etc/apache2/sites-enabled/25-{{ item.vhost_name }}.conf"
|
||||||
loop: vhosts
|
loop: "{{ vhosts }}"
|
||||||
notify: Restart Apache2
|
notify: Restart Apache2
|
Loading…
Reference in a new issue