library/roles/tomcat-multiple-instances/tasks/main.yml: ansible 2 compatibility fix.

This commit is contained in:
Andrea Dell'Amico 2016-03-02 17:05:01 +01:00
parent 75fd7d0574
commit 73e6c96026
1 changed files with 1 additions and 1 deletions

View File

@ -153,6 +153,6 @@
- name: Enable all the tomcat instances
service: name='tomcat-instance-{{ item.http_port }}' enabled=yes
with_items: tomcat_m_instances
with_items: '{{ tomcat_m_instances }}'
when: tomcat_m_enable_instances
tags: [ 'tomcat', 'tomcat_instances']