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

Commit

Permalink
Avoid being clever about unsupported architectures (#211)
Browse files Browse the repository at this point in the history
Previously, when different packages sources where used to install Grafana,
it made sense to fail fast, if there where no supported package. But now
Grafana supports many architecture directly and this pre-flight check
hinders installation on aarch64. Removing this check, delegating the
failure to the package installer, simplifies the installation.
  • Loading branch information
bwolf authored Mar 26, 2020
1 parent c300bb1 commit 2321a62
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions tasks/preflight.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,6 @@
- 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."
when:
- ansible_architecture != "x86_64"
- not ( ansible_architecture in ['armv6l', 'armv7l'] and ansible_os_family == 'Debian' )

- name: Fail when datasources aren't configured when dashboards are set to be installed
fail:
msg: "You need to specify datasources for dashboards!!!"
Expand Down

0 comments on commit 2321a62

Please sign in to comment.