From 82b3a430f25411b073cdf3339927f4dab1c69879 Mon Sep 17 00:00:00 2001 From: Salt Date: Tue, 28 Jul 2020 06:36:04 -0500 Subject: [PATCH] Add shortname to hosts --- roles/common/templates/hosts | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/common/templates/hosts b/roles/common/templates/hosts index 786d01c..230595c 100644 --- a/roles/common/templates/hosts +++ b/roles/common/templates/hosts @@ -1,5 +1,6 @@ 127.0.0.1 localhost 127.0.0.1 {{ inventory_hostname }} +127.0.0.1 {{ inventory_hostname_short }} # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback