--- - name: Set common facts ansible.builtin.import_tasks: tasks/set-default-facts.yml - name: Deploy {{ svc.name }} vars: svc: "{{ NAME_svc }}" env: "{{ NAME_env }}" compose: "{{ NAME_compose }}" block: - name: Import tasks to deploy common service ansible.builtin.import_tasks: tasks/deploy-common-service.yml