--- - name: Setup web service include_tasks: websvc.yml with_items: "{{ web_services }}" vars: domain: "{{ item.domain }}" web_svc: "{{ item.id }}"