author | Luke Hoersten <luke@hoersten.org> |
Sun, 09 Feb 2020 13:17:16 -0600 | |
changeset 4 | 46fe3aa0080c |
parent 2 | 2556522a2a45 |
child 5 | 4f014cdac0b1 |
permissions | -rw-r--r-- |
--- - name: add grafana apt key become: yes apt_key: url="https://packages.grafana.com/gpg.key" - name: add grafana apt repo become: yes apt_repository: repo="deb https://packages.grafana.com/oss/deb stable main" - name: install prometheus and grafana become: yes apt: name="{{item}}" state="latest" with_items: - "prometheus" - "grafana" # /etc/prometheus/prometheus.yml # /etc/grafana/grafana.ini