From ea38e7e24613ccfd2641c721c0b814e971f6dfe3 Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Sat, 27 Jul 2024 12:37:26 +0100 Subject: Move mail hosts to dedicated group --- ansible/inventory/hosts.yaml | 3 +++ ansible/playbook.yml | 6 +++++- 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'ansible') 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: -- cgit v1.2.3