32 lines
927 B
YAML
Executable File
32 lines
927 B
YAML
Executable File
#!/usr/bin/env ansible-playbook
|
|
---
|
|
# Deploy Mailman
|
|
- hosts: redisdead.adm.crans.org
|
|
vars:
|
|
mailman:
|
|
site_list: "nounou"
|
|
default_url: "https://lists.crans.org/"
|
|
default_host: "lists.crans.org"
|
|
default_language: "fr"
|
|
custom_logo: "crans_icon_dark.svg"
|
|
custom_logo_name: "crans.svg"
|
|
custom_logo_url: "https://www.crans.org/"
|
|
custom_logo_alt: "CRANS"
|
|
spamassassin: "SpamAssassin_crans"
|
|
smtphost: "smtp.adm.crans.org"
|
|
mynetworks: ['138.231.0.0/16', '185.230.76.0/22', '2a0c:700:0::/40']
|
|
nginx: '{{ glob_nginx | default({}) | combine(loc_nginx | default({})) }}'
|
|
roles:
|
|
- mailman
|
|
- nginx
|
|
|
|
# Deploy Mailman3
|
|
- hosts: mailman
|
|
vars:
|
|
certbot: '{{ loc_certbot | default(glob_certbot | default([])) }}'
|
|
mailman3: '{{ glob_mailman3 | default({}) | combine(loc_mailman3 | default({})) }}'
|
|
roles:
|
|
- certbot
|
|
- mailman3
|
|
- postfix-mailman3
|