From 977c9ca44e86edf84c23e0d10f93f5811a39a09d Mon Sep 17 00:00:00 2001 From: "ladislav.dusa" Date: Mon, 14 Apr 2025 20:45:52 +0200 Subject: [PATCH] renamed customer user group --- roles/hosts/tasks/main.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/roles/hosts/tasks/main.yml b/roles/hosts/tasks/main.yml index 9756f6e..d9023f3 100755 --- a/roles/hosts/tasks/main.yml +++ b/roles/hosts/tasks/main.yml @@ -15,4 +15,9 @@ ansible.builtin.lineinfile: path: "/etc/hosts" regexp: "^192.168.77.238 .*" - line: "192.168.77.238 rpi5 rpi5.home.lan" \ No newline at end of file + line: "192.168.77.238 rpi5 rpi5.home.lan" + - name: Reconfigure hosts file + ansible.builtin.lineinfile: + path: "/etc/hosts" + regexp: "^192.168.77.4 .*" + line: "192.168.77.4 amd amd.home.lan" \ No newline at end of file