refactor ♻️: Update hostname task to use a variable for destination hosts

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.
This commit is contained in:
2025-10-12 08:25:07 +02:00
parent 5127fe9f03
commit caa1a93f5a

View File

@@ -1,4 +1,4 @@
- hosts: localhost
- hosts: "{{ dest_hosts }}"
gather_facts: yes
tasks: