Skip to content

Commit

Permalink
Merge branch 'stats_role'
Browse files Browse the repository at this point in the history
  • Loading branch information
dannon committed May 11, 2016
2 parents 38b3aaf + 6c8914e commit e4a6f1c
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions roles/stats/tasks/main.yml
Expand Up @@ -33,7 +33,7 @@
with_items:
- name: grafana
description: "Grafana Packages"
baseurl: "https://packagecloud.io/grafana/testing/el/6/$basearch"
baseurl: "https://packagecloud.io/grafana/stable/el/6/$basearch"
when: ansible_os_family == "RedHat"

- name: Install InfluxDB yum key
Expand Down Expand Up @@ -148,11 +148,19 @@
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: grafana
update_cache: yes
name: "/tmp/grafana.rpm"
when: ansible_os_family == "RedHat"
# name: grafana
# update_cache: yes


#- name: Copy Grafana defaults
#copy:
Expand Down

0 comments on commit e4a6f1c

Please sign in to comment.