ansible-role-postfix-docker/tasks/invoke_postconf.yml
2019-08-25 21:54:19 -03:00

19 lines
952 B
YAML

---
# Invoke postconf with given arguments
# Useful for calling via include_role in other roles, using tasks_from
- name: "Postconf invocation"
postconf:
state: "{{ postfix_custom.state | default('present') }}"
parameter: "{{ postfix_custom.parameter | default('') }}"
value: "{{ postfix_custom.value | default('') }}"
service: "{{ postfix_custom.service | default('') }}"
type: "{{ postfix_custom.type | default('') }}"
command: "{{ postfix_custom.command | default('') }}"
private: "{{ postfix_custom.private | default('') }}"
unprivileged: "{{ postfix_custom.unprivileged | default('') }}"
chroot: "{{ postfix_custom.chroot | default('') }}"
wakeup: "{{ postfix_custom.wakeup | default('') }}"
process_limit: "{{ postfix_custom.process_limit | default('') }}"
notify: reload postfix