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:
2016-03-11 18:53:07 +02:00
parent 869d7f6c7e
commit 6a3b8f0918
3 changed files with 7 additions and 7 deletions

View File

@ -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