Make use of host_vars for postfix.
parent
a04fa9f2cf
commit
862883eacc
|
@ -0,0 +1,7 @@
|
||||||
|
postfix:
|
||||||
|
primary: false
|
||||||
|
secondary: true
|
||||||
|
public: true
|
||||||
|
dkim: true
|
||||||
|
mailman: false
|
||||||
|
titanic: true
|
|
@ -0,0 +1,7 @@
|
||||||
|
postfix:
|
||||||
|
primary: false
|
||||||
|
secondary: true
|
||||||
|
public: true
|
||||||
|
dkim: true
|
||||||
|
mailman: false
|
||||||
|
titanic: false
|
25
network.yml
25
network.yml
|
@ -190,28 +190,3 @@
|
||||||
remote_as: 8218
|
remote_as: 8218
|
||||||
roles:
|
roles:
|
||||||
- quagga-ipv6
|
- 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
|
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
#!/usr/bin/env ansible-playbook
|
||||||
|
# Postfix playbook
|
||||||
|
---
|
||||||
|
- hosts: sputnik.adm.crans.org, boeing.adm.crans.org
|
||||||
|
roles:
|
||||||
|
- postfix
|
Loading…
Reference in New Issue