47 lines
1.5 KiB
YAML

---
unix_users:
- name: james
gecos: James Bond
password_unencrypted: password
password: $5$h/passwordpasswordpassword/password.
addresses:
# - james@domain.com is tacit
- aliastojames@domain.com
- james@bond.name
- name: john
gecos: John the Ripper role account
# addresses:
# - john@domain.com is tacit
password: $9$YWpasswordpasswordpassword/password/
forwardings:
- name: notalist@domain.com
addresses:
- james@domain.com
- john@hotmail.com
- name: shawna@goody.com
addresses:
- shawna@gmail.com
mail:
hostname: mailserver.domain.com
domain: domain.com
origin: domain.com
destination_domains:
- mailserver.domain.com
- domain.com
- bond.name
ssl:
# Deploy your key files locally in the Ansible master node
# within folder files/secrets/tls, relative to the
# ../role-mailserver.yml file. Edit these variables
# to fit the file names of your keys.
# The followig key mailserver.domain.com must match the
# `mail.hostname` variable defined in this file. If you
# alter it here, alter it there too.
mailserver.domain.com:
key: /etc/pki/tls/private/mailserver.domain.com.key
intermediates:
# The order matters. At the bottom of the stack must be the one closest to the root of trust.
- /etc/pki/tls/certs/CABUNDLE.crt
certificate: /etc/pki/tls/certs/mailserver_domain_com.crt
assembled: /etc/pki/tls/certs/assembled_mailserver.domain.com.crt