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

@ -129,4 +129,18 @@
path: "{{ item.directory }}/.git"
state: absent
with_items: "{{ static }}"
- 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
...