--- # This loop will run the 'configure_site.yml' tasks for each site # defined in Lenvi.yaml. Handlers are notified only once at the end. - name: "Configure Nginx site for each project" ansible.builtin.include_tasks: configure_site.yml loop: "{{ sites }}" loop_control: loop_var: project notify: - Reload Nginx - Reload PHP-FPM Services