summaryrefslogtreecommitdiffstats
path: root/roles/common/templates/etc
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2013-10-30 20:59:39 +0100
committerGuilhem Moulin <guilhem@fripost.org>2015-06-07 02:50:26 +0200
commita43183028558300268e4cf74fec9631d342c0406 (patch)
treef6b948ea9ae83cf3e5c8c52e9d4af75e09c0cc4f /roles/common/templates/etc
parent4b3fd7e66dc1ed8b577cb522859d290b313b4ab1 (diff)
Configure /etc/{hosts,hostname,mailname}.
Diffstat (limited to 'roles/common/templates/etc')
-rw-r--r--roles/common/templates/etc/hostname.j21
-rw-r--r--roles/common/templates/etc/mailname.j21
2 files changed, 2 insertions, 0 deletions
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 }}