Skip to content

Commit

Permalink
Direct rpm grafana installation
Browse files Browse the repository at this point in the history
  • Loading branch information
dannon committed May 11, 2016
1 parent d79b820 commit 6c8914e
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions roles/stats/tasks/main.yml
Expand Up @@ -148,13 +148,18 @@
update_cache: yes
when: ansible_os_family == "RedHat"

- name: Download Grafana
get_url:
url: "https://grafanarel.s3.amazonaws.com/builds/grafana-3.0.1-1.x86_64.rpm"
dest: "/tmp/grafana.rpm"
when: ansible_os_family == "RedHat"

- name: Install Grafana
yum:
name: https://grafanarel.s3.amazonaws.com/builds/grafana-3.0.1-1.x86_64.rpm
state: latest
name: "/tmp/grafana.rpm"
when: ansible_os_family == "RedHat"
# name: grafana
# update_cache: yes
when: ansible_os_family == "RedHat"


#- name: Copy Grafana defaults
Expand Down

0 comments on commit 6c8914e

Please sign in to comment.