aboutsummaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2024-02-08 13:30:28 +0100
committerRomain Gonçalves <me@rgoncalves.se>2024-02-08 13:33:36 +0100
commitd5ba7d10131655fe6a01ba70bfd3926e7afd719e (patch)
treef1fe8d262d80a68edd61eee6aabde1f7eabdbe6a /roles
parent76af5e5e55fce3912608722cd5f774c215f34c1d (diff)
downloadrules-d5ba7d10131655fe6a01ba70bfd3926e7afd719e.tar.gz
feat(roles/hostname): synchronize hostname with inventory hostname
Diffstat (limited to 'roles')
-rw-r--r--roles/hostname/tasks/main.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/hostname/tasks/main.yml b/roles/hostname/tasks/main.yml
new file mode 100644
index 0000000..d35a1f8
--- /dev/null
+++ b/roles/hostname/tasks/main.yml
@@ -0,0 +1,5 @@
+---
+
+- name: synchronize system hostname with inventory hostname
+ ansible.builtin.hostname:
+ name: "{{ inventory_hostname }}"
remember that computers suck.