deploy: Add prometheus node_exporter #96

Merged
j3d1 merged 1 commit from feature/prometheus-in-ansible into testing 2024-11-28 14:53:27 +00:00
2 changed files with 3 additions and 0 deletions

View file

@ -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: |

View file

@ -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: