From d5ba7d10131655fe6a01ba70bfd3926e7afd719e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Thu, 8 Feb 2024 13:30:28 +0100 Subject: feat(roles/hostname): synchronize hostname with inventory hostname --- roles/hostname/tasks/main.yml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 roles/hostname/tasks/main.yml (limited to 'roles/hostname') 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 }}" -- cgit v1.2.3