Add node_explorer to laptop
This commit is contained in:
parent
1824d25c63
commit
6065471faa
@ -10,6 +10,8 @@ all:
|
||||
ansible_host: 192.168.50.3
|
||||
home-assistant:
|
||||
ansible_host: 192.168.60.100
|
||||
laptop.lan:
|
||||
ansible_host: 192.168.50.29
|
||||
prusa:
|
||||
ansible_host: 192.168.50.6
|
||||
node-01.lan:
|
||||
|
6
main.yml
6
main.yml
@ -34,4 +34,8 @@
|
||||
|
||||
- hosts: node-01.lan
|
||||
roles:
|
||||
- network
|
||||
- network
|
||||
|
||||
- hosts: laptop.lan
|
||||
roles:
|
||||
- node_explorer
|
@ -12,6 +12,14 @@
|
||||
remote_src: yes
|
||||
mode: 0755
|
||||
|
||||
- name: Download node-explorer
|
||||
when: ansible_architecture == "x86_64"
|
||||
unarchive:
|
||||
src: https://github.com/prometheus/node_exporter/releases/download/v{{version}}/node_exporter-{{version}}.linux-amd64.tar.gz
|
||||
dest: /tmp/node_exporter
|
||||
remote_src: yes
|
||||
mode: 0755
|
||||
|
||||
- name: Download node-explorer
|
||||
when: ansible_architecture == "armv7l"
|
||||
unarchive:
|
||||
|
Loading…
Reference in New Issue
Block a user