summaryrefslogtreecommitdiff
path: root/roles/install_ssmtp
diff options
context:
space:
mode:
Diffstat (limited to 'roles/install_ssmtp')
-rw-r--r--roles/install_ssmtp/templates/ssmtp.conf.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/install_ssmtp/templates/ssmtp.conf.j2 b/roles/install_ssmtp/templates/ssmtp.conf.j2
index 486e047..bf5cd8f 100644
--- a/roles/install_ssmtp/templates/ssmtp.conf.j2
+++ b/roles/install_ssmtp/templates/ssmtp.conf.j2
@@ -1,6 +1,6 @@
root=root=root@niyawe.de
mailhub=mail.niyawe.de:465
rewriteDomain=niyawe.de
-hostname={{ ansible_nodename }}
+hostname={{ ansible_fqdn }}
FromLineOverride=YES
UseTLS=YES