restart services
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Torma Kristóf 2022-05-29 15:24:02 +02:00
parent f7ffff3b8d
commit 590f20de67
5 changed files with 30 additions and 0 deletions

View File

@ -12,4 +12,10 @@
port: 9100
proto: tcp
src: 192.168.69.0/24
- name: Enable and restart exporter daemon
service:
name: prometheus-node-exporter
state: restarted
enabled: yes
...

View File

@ -24,6 +24,12 @@
name:
- prometheus-postfix-exporter
- name: Enable and restart exporter daemon
service:
name: prometheus-postfix-exporter
state: restarted
enabled: yes
- name: Allow postfix exporter via ufw
community.general.ufw:
rule: allow

View File

@ -32,6 +32,12 @@
name:
- prometheus-postfix-exporter
- name: Enable and restart exporter daemon
service:
name: prometheus-postfix-exporter
state: restarted
enabled: yes
- name: Allow postfix exporter via ufw
community.general.ufw:
rule: allow

View File

@ -137,6 +137,12 @@
name:
- prometheus-nginx-exporter
- name: Enable and restart exporter daemon
service:
name: prometheus-nginx-exporter
state: restarted
enabled: yes
- name: Allow nginx exporter via ufw
community.general.ufw:
rule: allow

View File

@ -47,6 +47,12 @@
proto: tcp
src: 192.168.69.0/24
- name: Enable and restart exporter daemon
service:
name: prometheus-nginx-exporter
state: restarted
enabled: yes
- name: Allow https port via ufw
community.general.ufw:
rule: allow