diff options
author | 2024-07-27 12:37:26 +0100 | |
---|---|---|
committer | 2024-07-31 13:25:52 +0100 | |
commit | ea38e7e24613ccfd2641c721c0b814e971f6dfe3 (patch) | |
tree | 80534b4f7c5300bf989f8f4c0926ba9805273596 | |
parent | postfix: deploy postfix instead of opensmtpd (diff) |
Move mail hosts to dedicated group
-rw-r--r-- | ansible/inventory/hosts.yaml | 3 | ||||
-rw-r--r-- | ansible/playbook.yml | 6 |
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: |