From caa1a93f5a95cfd164df95b4d453278184c0c01e Mon Sep 17 00:00:00 2001 From: Jose Date: Sun, 12 Oct 2025 08:25:07 +0200 Subject: [PATCH] =?UTF-8?q?refactor=20=E2=99=BB=EF=B8=8F:=20Update=20hostn?= =?UTF-8?q?ame=20task=20to=20use=20a=20variable=20for=20destination=20host?= =?UTF-8?q?s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The `hostname.yml` task has been updated to use a variable `dest_hosts` instead of hardcoding the localhost. This allows for more flexibility in specifying the destination hosts, making it easier to manage and reuse configurations. --- tasks/hostname.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/hostname.yml b/tasks/hostname.yml index 9b73419..0a0a1db 100644 --- a/tasks/hostname.yml +++ b/tasks/hostname.yml @@ -1,4 +1,4 @@ -- hosts: localhost +- hosts: "{{ dest_hosts }}" gather_facts: yes tasks: