deploy: Add prometheus node_exporter
This commit is contained in:
parent
a59423780e
commit
3bd0008a77
2 changed files with 3 additions and 0 deletions
|
@ -32,6 +32,7 @@ jobs:
|
||||||
apt install python3-pip -y
|
apt install python3-pip -y
|
||||||
python3 -m pip install ansible
|
python3 -m pip install ansible
|
||||||
python3 -m pip install ansible-lint
|
python3 -m pip install ansible-lint
|
||||||
|
ansible-galaxy collection install prometheus.prometheus
|
||||||
|
|
||||||
- name: Populate relevant files
|
- name: Populate relevant files
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
- name: 'deploy c3lf-sys3'
|
- name: 'deploy c3lf-sys3'
|
||||||
hosts: 'c3lf-nodes'
|
hosts: 'c3lf-nodes'
|
||||||
|
roles:
|
||||||
|
- prometheus.prometheus.node_exporter
|
||||||
handlers:
|
handlers:
|
||||||
- name: restart nginx
|
- name: restart nginx
|
||||||
service:
|
service:
|
||||||
|
|
Loading…
Reference in a new issue