Make use of host_vars for postfix.

certbot_on_virtu
_pollion 2020-05-17 11:36:56 +02:00
parent a04fa9f2cf
commit 862883eacc
4 changed files with 20 additions and 25 deletions

View File

@ -0,0 +1,7 @@
postfix:
primary: false
secondary: true
public: true
dkim: true
mailman: false
titanic: true

View File

@ -0,0 +1,7 @@
postfix:
primary: false
secondary: true
public: true
dkim: true
mailman: false
titanic: false

View File

@ -190,28 +190,3 @@
remote_as: 8218
roles:
- quagga-ipv6
# Deploy postfix on mail servers
- hosts: titanic.adm.crans.org
vars:
postfix:
primary: false
secondary: true
public: true
dkim: true
mailman: false
titanic: true
roles:
- postfix
- hosts: sputnik.adm.crans.org
vars:
postfix:
primary: false
secondary: true
public: true
dkim: true
mailman: false
titanic: false
roles:
- postfix

6
postfix.yml 100755
View File

@ -0,0 +1,6 @@
#!/usr/bin/env ansible-playbook
# Postfix playbook
---
- hosts: sputnik.adm.crans.org, boeing.adm.crans.org
roles:
- postfix