diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2018-12-24 22:43:28 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2018-12-24 23:27:04 +0100 |
commit | 4a705a1a029a66b422ed21d004de609e24e4fb95 (patch) | |
tree | f213b8bfc9972c5a0614c0cb10305cd6ce9f33aa | |
parent | 6e10f73e8bae8108eb1e9dba82232f1799a5a635 (diff) | |
download | infra-4a705a1a029a66b422ed21d004de609e24e4fb95.tar.gz infra-4a705a1a029a66b422ed21d004de609e24e4fb95.tar.bz2 infra-4a705a1a029a66b422ed21d004de609e24e4fb95.tar.xz infra-4a705a1a029a66b422ed21d004de609e24e4fb95.zip |
postfix
-rw-r--r-- | ansible/group_vars/all/postfix.yml | 2 | ||||
-rw-r--r-- | ansible/roles/postfix-satellite/tasks/postfix-satellite.yml | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/ansible/group_vars/all/postfix.yml b/ansible/group_vars/all/postfix.yml index 56516f1..107bbac 100644 --- a/ansible/group_vars/all/postfix.yml +++ b/ansible/group_vars/all/postfix.yml @@ -1 +1,3 @@ +postfix_satellite__mydomain: trygvis.io +postfix_satellite__myorigin: trygvis.io postfix__relayhost: "[trygvis.io]:587" diff --git a/ansible/roles/postfix-satellite/tasks/postfix-satellite.yml b/ansible/roles/postfix-satellite/tasks/postfix-satellite.yml index 46f2fea..5f8f02a 100644 --- a/ansible/roles/postfix-satellite/tasks/postfix-satellite.yml +++ b/ansible/roles/postfix-satellite/tasks/postfix-satellite.yml @@ -20,9 +20,9 @@ regexp: "^{{ item.key }} =" with_items: - key: "mydomain" - value: "bitraf.no" + value: "{{ postfix_satellite__mydomain }}" - key: "myorigin" - value: "bitraf.no" + value: "{{ postfix_satellite__myorigin }}" - key: "mydestination" value: "" - key: "smtp_sasl_auth_enable" |