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:
@@ -1,4 +1,4 @@
|
|||||||
- hosts: localhost
|
- hosts: "{{ dest_hosts }}"
|
||||||
gather_facts: yes
|
gather_facts: yes
|
||||||
tasks:
|
tasks:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user