aboutsummaryrefslogtreecommitdiffstats
path: root/roles/setup_hostname
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2020-06-30 19:24:22 +0200
committerbinary <me@rgoncalves.se>2020-06-30 19:24:22 +0200
commit68c01a04cd6268c1dee66678c258cd4c240d5bb1 (patch)
tree1419eec22fa637159ba5e61ae1a6d9e11408a506 /roles/setup_hostname
downloadinfrastructure-68c01a04cd6268c1dee66678c258cd4c240d5bb1.tar.gz
Cleanup for public release
Diffstat (limited to 'roles/setup_hostname')
-rw-r--r--roles/setup_hostname/tasks/main.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/roles/setup_hostname/tasks/main.yml b/roles/setup_hostname/tasks/main.yml
new file mode 100644
index 0000000..326e047
--- /dev/null
+++ b/roles/setup_hostname/tasks/main.yml
@@ -0,0 +1,14 @@
+
+# =========================================================================== #
+# __ __ __
+# _________ / /__ / /_ ____ _____/ /_____ ____ _____ ___ ___
+# / ___/ __ \/ / _ \ / __ \/ __ \/ ___/ __/ __ \/ __ `/ __ `__ \/ _ \
+# / / / /_/ / / __/ / / / / /_/ (__ ) /_/ / / / /_/ / / / / / / __/
+# /_/ \____/_/\___(_) /_/ /_/\____/____/\__/_/ /_/\__,_/_/ /_/ /_/\___/
+#
+# =========================================================================== #
+
+---
+- name: Syncrhonize host hostname with config hostname
+ hostname:
+ name: "{{ inventory_hostname }}"
remember that computers suck.