--- - name: Packages ansible.builtin.import_tasks: packages.yml tags: packages - name: Database ansible.builtin.import_tasks: database.yml delegate_to: "{{ database_host }}" - name: Configuration ansible.builtin.import_tasks: configuration.yml tags: configuration - name: Webserver ansible.builtin.import_tasks: webserver.yml tags: webserver