add ucs registry settings
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2019-08-24 16:12:21 +02:00
parent 5ea60e199e
commit 6e498b7110
2 changed files with 13 additions and 0 deletions

View File

@ -1,5 +1,12 @@
---
- block:
- name: Set postfix settings to registry
ucr:
path: "{{ item.path }}"
value: "{{ item.value }}"
state: "{{ item.state | default('present') }}"
loop: "{{ __postfix_registry_settings }}"
- name: Create smtp_auth
template:
src: etc/postfix/sasl_passwd.j2

View File

@ -1,3 +1,9 @@
---
__postfix_relay_packages:
- postfix
__postfix_registry_settings:
- path: "mail/relayhost"
value: "{{ postfix_relay_relayhost }}"
- path: "mail/relayauth"
value: "yes"