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

Commit 2321a62

Browse files
authored
Avoid being clever about unsupported architectures (#211)
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.
1 parent c300bb1 commit 2321a62

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

tasks/preflight.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,6 @@
66
- grafana_database is mapping
77
- grafana_security is mapping
88

9-
- name: Fail on unsupported system architectures
10-
fail:
11-
msg: "Sorry grafana doesn't support {{ ansible_architecture }} on this OS family ({{ ansible_os_family }}). Exiting."
12-
when:
13-
- ansible_architecture != "x86_64"
14-
- not ( ansible_architecture in ['armv6l', 'armv7l'] and ansible_os_family == 'Debian' )
15-
169
- name: Fail when datasources aren't configured when dashboards are set to be installed
1710
fail:
1811
msg: "You need to specify datasources for dashboards!!!"

0 commit comments

Comments
 (0)