summaryrefslogtreecommitdiffstats
path: root/templates/etc/postfix
diff options
context:
space:
mode:
Diffstat (limited to 'templates/etc/postfix')
-rw-r--r--templates/etc/postfix/main.cf.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/etc/postfix/main.cf.j2 b/templates/etc/postfix/main.cf.j2
index 35a6790..10313b4 100644
--- a/templates/etc/postfix/main.cf.j2
+++ b/templates/etc/postfix/main.cf.j2
@@ -9,8 +9,8 @@ compatibility_level = 3.6
smtputf8_enable = no
myorigin = /etc/mailname
-myhostname = {{ ansible_fqdn }}
-mydomain = {{ ansible_domain }}
+myhostname = {{ ansible_facts.fqdn }}
+mydomain = {{ ansible_facts.domain }}
append_dot_mydomain = no
# This server is for internal use only