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