aboutsummaryrefslogtreecommitdiffstats
path: root/roles/hostname/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/hostname/tasks')
-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.