Skip to content

Instantly share code, notes, and snippets.

@haad
Created October 14, 2016 13:23
Show Gist options
  • Save haad/531d7d92df93037c0249f8276feb91c0 to your computer and use it in GitHub Desktop.
Save haad/531d7d92df93037c0249f8276feb91c0 to your computer and use it in GitHub Desktop.
- name: Setup Grafana Wheezy Repository
apt_repository:
repo: "deb https://packagecloud.io/grafana/stable/debian/ wheezy main"
state: present
register: add_grafana_apt
until: add_grafana_apt | success
retries: 5
delay: 3
- name: Install Grafana Apt Key
apt_key:
url: "https://packagecloud.io/gpg.key"
state: present
register: add_grafana_apt_key
until: add_grafana_apt_key | success
retries: 5
delay: 3
- name: Update Apt repos
apt:
update_cache: yes
register: update_cache
until: update_cache | success
retries: 5
delay: 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment