prometheus/server/tasks/main.yaml
changeset 189 3bd85e235e76
parent 187 0f3a64c60ec5
child 197 1cc658995a70
equal deleted inserted replaced
188:4f2ad619134b 189:3bd85e235e76
     1 ---
     1 ---
     2 
     2 
     3 - name: add grafana apt key
     3 - name: add grafana apt key
     4   become: yes
     4   become: yes
     5   apt_key: url="https://packages.grafana.com/gpg.key"
     5   get_url:
       
     6     url: "https://packages.grafana.com/gpg.key"
       
     7     dest: /etc/apt/trusted.gpg.d/grafana.asc
       
     8     mode: "0644"
     6 
     9 
     7 - name: add grafana apt repo
    10 - name: add grafana apt repo
     8   become: yes
    11   become: yes
     9   apt_repository: repo="deb https://packages.grafana.com/oss/deb stable main"
    12   apt_repository: repo="deb https://packages.grafana.com/oss/deb stable main"
    10 
    13