ansible-role-grafana/tasks/main.yml

20 lines
452 B
YAML
Raw Permalink Normal View History

2022-12-27 10:43:32 +01:00
---
2023-11-20 11:47:05 +01:00
- name: Packages
ansible.builtin.import_tasks: packages.yml
2022-12-27 10:43:32 +01:00
tags: packages
2023-11-20 11:47:05 +01:00
- name: Database
ansible.builtin.import_tasks: database.yml
2023-11-20 12:23:12 +01:00
when: grafana_db_type != "sqlite3"
2023-11-20 12:34:14 +01:00
tags: database
2022-12-27 10:43:32 +01:00
delegate_to: "{{ database_host }}"
2023-11-20 11:49:57 +01:00
- name: Configuration
ansible.builtin.import_tasks: configuration.yml
tags: configuration
2022-12-27 10:43:32 +01:00
2023-11-20 11:47:05 +01:00
- name: Webserver
ansible.builtin.import_tasks: webserver.yml
2023-11-20 12:34:14 +01:00
when: grafana_webserver is defined
2022-12-27 10:43:32 +01:00
tags: webserver