Initial Commit
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
#
|
||||
# {{ ansible_managed }}
|
||||
#
|
||||
|
||||
# Postfix master process configuration file. For details on the format
|
||||
# of the file, see the master(5) manual page (command: "man 5 master" or
|
||||
# on-line: http://www.postfix.org/master.5.html).
|
||||
#
|
||||
# Do not forget to execute "postfix reload" after editing this file.
|
||||
#
|
||||
# ==========================================================================
|
||||
# service type private unpriv chroot wakeup maxproc command + args
|
||||
# (yes) (yes) (no) (never) (100)
|
||||
# ==========================================================================
|
||||
{% for service in postfix_services %}
|
||||
{% set priv = ('y' if service.private else 'n') if service.private is defined else '-' %}
|
||||
{% set unpriv = ('y' if service.unprivileged else 'n') if service.unprivileged is defined else '-' %}
|
||||
{% set chrt = ('y' if service.chroot else 'n') if service.chroot is defined else '-' %}
|
||||
{% set wkup = service.wakeup | default('-') | string %}
|
||||
{% set mproc = service.maxproc | default('-') | string %}
|
||||
{{ "%-9s %-5s %-7s %-7s %-7s %-7s %-7s %s" | format(service.name, service.type, priv, unpriv, chrt, wkup, mproc, service.command) }}
|
||||
{% for arg in service.args | default([]) %}
|
||||
{{ arg }}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
Reference in New Issue
Block a user