Defaults Variables

ansible-postfix · defaults/main.yml · MIT
email, security, auth, tag:postfix-defaults

Comprehensive set of default variables covering all Postfix configuration aspects: database types, aliases, SASL, TLS, relay hosts, restrictions, maps, and file paths. Serves as the API contract for the role.

# Source: https://github.com/Oefenweb/ansible-postfix | License: MIT | Copyright Oefenweb.nl <https://github.com/Oefenweb>
# Provided via justclaw.it.com; keep this notice with the code.
# defaults file
---
postfix_install:
  - postfix
  - mailutils
  - libsasl2-2
  - sasl2-bin
  - libsasl2-modules

postfix_hostname: "{{ ansible_facts['fqdn'] }}"
postfix_mailname: "{{ ansible_facts['fqdn'] }}"

postfix_default_database_type: hash
postfix_aliases: []
postfix_aliases_database_type: "{{ postfix_default_database_type }}"
postfix_virtual_aliases: []
postfix_sender_canonical_maps: []
postfix_sender_canonical_maps_database_type: "{{ postfix_default_database_type }}"
postfix_recipient_canonical_maps: []
postfix_recipient_canonical_maps_database_type: "{{ postfix_default_database_type }}"
postfix_t

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key