1 2 3 4 5 6 7 8 9 10 11 12
--- # tasks file for tomcat - name: include assert.yml include_tasks: assert.yml - name: loop over tomcat_instances include: instance.yml loop: "{{ tomcat_instances }}" loop_control: loop_var: instance when: - tomcat_instances is defined