Add missing conditional

This commit is contained in:
phil 2023-11-20 12:34:14 +01:00
parent e4c4d60ba6
commit 3241554ce8

View file

@ -6,6 +6,7 @@
- name: Database - name: Database
ansible.builtin.import_tasks: database.yml ansible.builtin.import_tasks: database.yml
when: grafana_db_type != "sqlite3" when: grafana_db_type != "sqlite3"
tags: database
delegate_to: "{{ database_host }}" delegate_to: "{{ database_host }}"
- name: Configuration - name: Configuration
@ -14,4 +15,5 @@
- name: Webserver - name: Webserver
ansible.builtin.import_tasks: webserver.yml ansible.builtin.import_tasks: webserver.yml
when: grafana_webserver is defined
tags: webserver tags: webserver