Update some bare variables in with_items loops to use Ansible 2.0 syntax
See: https://docs.ansible.com/ansible/porting_guide_2.0.html Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
@ -11,7 +11,7 @@
|
||||
|
||||
- name: Copy php5-fpm pool config
|
||||
template: src=pool.conf.j2 dest=/etc/php5/fpm/pool.d/{{ item.domain_name }}.conf owner=root group=root mode=0644
|
||||
with_items: nginx_vhosts
|
||||
with_items: "{{ nginx_vhosts }}"
|
||||
when: nginx_vhosts is defined
|
||||
notify: restart php5-fpm
|
||||
tags: php5-fpm
|
||||
|
Reference in New Issue
Block a user