From 6e498b71105d5a92d8bde9f6c804e90fa4083d11 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sat, 24 Aug 2019 16:12:21 +0200 Subject: [PATCH] add ucs registry settings --- tasks/config_univention.yml | 7 +++++++ vars/univention.yml | 6 ++++++ 2 files changed, 13 insertions(+) diff --git a/tasks/config_univention.yml b/tasks/config_univention.yml index 644b36e..8358627 100644 --- a/tasks/config_univention.yml +++ b/tasks/config_univention.yml @@ -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 diff --git a/vars/univention.yml b/vars/univention.yml index 6b748ef..1698f62 100644 --- a/vars/univention.yml +++ b/vars/univention.yml @@ -1,3 +1,9 @@ --- __postfix_relay_packages: - postfix + +__postfix_registry_settings: + - path: "mail/relayhost" + value: "{{ postfix_relay_relayhost }}" + - path: "mail/relayauth" + value: "yes"