Skip to content
This repository has been archived by the owner on May 31, 2023. It is now read-only.

fix non-informative task name #62

Merged
merged 1 commit into from
May 29, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tasks/configure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
- "/etc/grafana/provisioning"
- "/etc/grafana/provisioning/datasources"

- name: Copy the template
- name: Create grafana main configuration file
template:
src: grafana.ini.j2
dest: /etc/grafana/grafana.ini
Expand Down
7 changes: 7 additions & 0 deletions tasks/preflight.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
---
- name: Check variable types
assert:
that:
- grafana_server is mapping
- grafana_database is mapping
- grafana_security is mapping

- name: Fail on unsupported system architectures
fail:
msg: "Sorry grafana doesn't support {{ ansible_architecture }} on this OS family ({{ ansible_os_family }}). Exiting."
Expand Down