aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/host_vars
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/host_vars')
-rw-r--r--ansible/host_vars/lovelace/prometheus.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/ansible/host_vars/lovelace/prometheus.yml b/ansible/host_vars/lovelace/prometheus.yml
index 6dc92e2..68709f0 100644
--- a/ansible/host_vars/lovelace/prometheus.yml
+++ b/ansible/host_vars/lovelace/prometheus.yml
@@ -55,6 +55,13 @@ prometheus_configuration: |
- {{ hostvars[host]['ansible_wg0']['ipv4']['address'] }}:9187
{%- endfor %}
+ - job_name: postfix
+ static_configs:
+ - targets:
+ {%- for host in groups['mail'] %}
+ - {{ hostvars[host]['ansible_wg0']['ipv4']['address'] }}:9154
+ {%- endfor %}
+
- job_name: blackbox-ssh
metrics_path: /probe
params: