Add blackbox_exporter to external ns host

This commit is contained in:
Timo Makinen 2024-06-06 19:30:05 +00:00
parent dc2a6f5788
commit 20d91ff1b0
2 changed files with 4 additions and 1 deletions

View file

@ -6,7 +6,8 @@ firewall_in:
- {proto: tcp, port: 80}
- {proto: tcp, port: 443}
- {proto: tcp, port: 853}
- {proto: tcp, port: 9100, from: [172.20.20.0/22, 62.78.229.29/32]}
- {proto: tcp, port: 9100}
- {proto: tcp, port: 9115}
firewall_raw:
- pass quick proto carp

View file

@ -21,3 +21,5 @@
nginx_site_redirect: https://www.foo.sh/
- role: ifstated
when: "'vultr' not in group_names"
- role: blackbox_exporter
when: "inventory_hostname == 'atl01.vultr.foo.sh'"