--- - name: Packages ansible.builtin.import_tasks: packages.yml tags: packages - name: Database ansible.builtin.import_tasks: database.yml when: grafana_db_type != "sqlite3" tags: database delegate_to: "{{ database_host }}" - name: Configuration ansible.builtin.import_tasks: configuration.yml tags: configuration - name: Webserver ansible.builtin.import_tasks: webserver.yml when: grafana_webserver is defined tags: webserver