prometheus/rpi-client/tasks/main.yaml
changeset 8 20975062661d
parent 6 3b1f18f6a5a4
child 15 6d7db9bae6c2
equal deleted inserted replaced
7:dc3fca0131a7 8:20975062661d
     2 
     2 
     3 - name: add prometheus user to video group for rpi GPU stats
     3 - name: add prometheus user to video group for rpi GPU stats
     4   become: yes
     4   become: yes
     5   user: name="prometheus" groups="video" append="yes"
     5   user: name="prometheus" groups="video" append="yes"
     6 
     6 
     7 - name: install prometheus rpi exporter
     7 - name: install prometheus rpi-exporter
     8   unarchive:
     8   unarchive:
     9     src: "https://github.com/lukasmalkmus/rpi_exporter/releases/download/v{{prometheus_client_rpi_exporter_version}}/rpi_exporter-{{prometheus_client_rpi_exporter_version}}.linux-{{prometheus_client_arch}}.tar.gz"
     9     src: "https://github.com/lukasmalkmus/rpi_exporter/releases/download/v{{prometheus_client_rpi_exporter_version}}/rpi_exporter-{{prometheus_client_rpi_exporter_version}}.linux-{{prometheus_client_arch}}.tar.gz"
    10     remote_src: yes
    10     remote_src: yes
    11     dest: "/tmp/"
    11     dest: "/tmp/"
    12 
    12