ansible-development-environ.../roles/postfix/vars/main.yml

28 lines
760 B
YAML

---
# vars file for postfix
postfix_service: postfix
_postfix_daemon_directory:
default: /usr/libexec/postfix
Debian: /usr/lib/postfix/sbin
Suse: /usr/lib/postfix/bin
postfix_daemon_directory: "{{ _postfix_daemon_directory[ansible_os_family] | default(_postfix_daemon_directory['default'] ) }}"
_postfix_alias_path:
default: /etc/aliases
Alpine: /etc/postfix/aliases
postfix_alias_path: "{{ _postfix_alias_path[ansible_os_family] | default(_postfix_alias_path['default'] ) }}"
postfix_recipient_access_path: /etc/postfix/recipient_access
postfix_sender_access_path: /etc/postfix/sender_access
_postfix_group:
default: postdrop
Suse: maildrop
postfix_group: "{{ _postfix_group[ansible_os_family] | default(_postfix_group['default'] ) }}"