From a43183028558300268e4cf74fec9631d342c0406 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Wed, 30 Oct 2013 20:59:39 +0100 Subject: Configure /etc/{hosts,hostname,mailname}. --- roles/common/templates/etc/hostname.j2 | 1 + roles/common/templates/etc/mailname.j2 | 1 + 2 files changed, 2 insertions(+) create mode 100644 roles/common/templates/etc/hostname.j2 create mode 100644 roles/common/templates/etc/mailname.j2 (limited to 'roles/common/templates/etc') diff --git a/roles/common/templates/etc/hostname.j2 b/roles/common/templates/etc/hostname.j2 new file mode 100644 index 0000000..68fd234 --- /dev/null +++ b/roles/common/templates/etc/hostname.j2 @@ -0,0 +1 @@ +{{ inventory_hostname_short }} diff --git a/roles/common/templates/etc/mailname.j2 b/roles/common/templates/etc/mailname.j2 new file mode 100644 index 0000000..1fad51f --- /dev/null +++ b/roles/common/templates/etc/mailname.j2 @@ -0,0 +1 @@ +{{ inventory_hostname }} -- cgit v1.2.3