prometheus/rpi-client/tasks/main.yaml
changeset 15 6d7db9bae6c2
parent 8 20975062661d
child 21 fecc27fe5aef
equal deleted inserted replaced
14:47937f95ac26 15:6d7db9bae6c2
     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: "{{prometheus_client_rpi_src}}"
    10     remote_src: yes
    10     remote_src: yes
    11     dest: "/tmp/"
    11     dest: "/tmp/"
    12 
    12 
    13 - name: install systemd service for rpi-exporter
    13 - name: install systemd service for rpi-exporter
    14   become: yes
    14   become: yes