34 lines
1.2 KiB
YAML
34 lines
1.2 KiB
YAML
# Deploy journal-postfix
|
|
|
|
# This will install a service that writes mail delivery information
|
|
# obtained from systemd-journal (unit postfix@-.service) to a
|
|
# PostgreSQL database.
|
|
#
|
|
# You can configure the database connection parameters (and optionally
|
|
# a verp_marker) as host vars like this:
|
|
#
|
|
# mailserver:
|
|
# postgresql:
|
|
# host: 127.0.0.1
|
|
# port: 5432
|
|
# dbname: mailserver
|
|
# username: mailserver
|
|
# password: !vault |
|
|
# $ANSIBLE_VAULT;1.1;AES256
|
|
# XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
|
# XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
|
# XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
|
# XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
|
# XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
|
# postfix:
|
|
# verp_marker: rstxyz
|
|
#
|
|
# If you do not, then you must edit /etc/journal-postfix/main.yml
|
|
# on the destination hosts and run systemctl start journal-postfix
|
|
# manually.
|
|
|
|
- name: install journal-postfix
|
|
user: root
|
|
hosts: mail
|
|
roles:
|
|
- journal-postfix
|