aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ansible/inventory/hosts.yaml3
-rw-r--r--ansible/playbook.yml6
2 files changed, 8 insertions, 1 deletions
diff --git a/ansible/inventory/hosts.yaml b/ansible/inventory/hosts.yaml
index f4770df..4a2f24c 100644
--- a/ansible/inventory/hosts.yaml
+++ b/ansible/inventory/hosts.yaml
@@ -21,5 +21,8 @@ all:
ldap:
hosts:
ldap01:
+ mail:
+ hosts:
+ lovelace:
vars:
wireguard_port: 46850
diff --git a/ansible/playbook.yml b/ansible/playbook.yml
index 1343f59..25b54b9 100644
--- a/ansible/playbook.yml
+++ b/ansible/playbook.yml
@@ -15,9 +15,13 @@
- wireguard
- fail2ban
- podman
- - postfix
- unattended-upgrades
+- name: Deploy mailservers
+ hosts: mail
+ roles:
+ - postfix
+
- name: Deploy our monitoring stack
hosts: monitoring
roles: