--- - name: Configure Nginx site and database for each project ansible.builtin.include_tasks: configure_site.yml loop: "{{ sites }}" loop_control: loop_var: project