From fdc3578310046e3991f5f439d7d633c8b5609e8d Mon Sep 17 00:00:00 2001 From: Nemo Date: Wed, 22 Jul 2020 11:33:26 +0200 Subject: [PATCH] Add postfix hostname configuration --- roles/postfix/tasks/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/postfix/tasks/main.yml b/roles/postfix/tasks/main.yml index 2ccab0a..3a74021 100644 --- a/roles/postfix/tasks/main.yml +++ b/roles/postfix/tasks/main.yml @@ -24,6 +24,8 @@ value: "{{ postfix_inet_interfaces }}" - name: inet_protocols value: "{{ postfix_inet_protocols }}" + - name: myhostname + value: "{{ inventory_hostname }}" notify: restart postfix - name: Ensure postfix is started and enabled at boot.