From 354f025149be9923441af9f64cf153b21f46aff5 Mon Sep 17 00:00:00 2001 From: Niklas Yann Wettengel Date: Mon, 20 Mar 2017 20:57:17 +0100 Subject: use ansible_fqdn instead of ansible_nodename --- roles/install_ssmtp/templates/ssmtp.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles/install_ssmtp/templates/ssmtp.conf.j2') 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 -- cgit v1.2.3-54-g00ecf