add exporters
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
2022-05-29 15:15:02 +02:00
parent 1a886ad9d4
commit f7ffff3b8d
10 changed files with 93 additions and 22 deletions

View File

@ -33,6 +33,20 @@
name: nginx
state: reloaded
- name: "Install nginx exporter"
apt:
update_cache: yes
state: present
name:
- prometheus-nginx-exporter
- name: Allow nginx exporter via ufw
community.general.ufw:
rule: allow
port: 9113
proto: tcp
src: 192.168.69.0/24
- name: Allow https port via ufw
community.general.ufw:
rule: allow