mirror of
https://gitea.0xace.cc/ansible-galaxy/hostname.git
synced 2025-07-27 08:01:49 +00:00
add hostname role
This commit is contained in:
3
tasks/main.yaml
Normal file
3
tasks/main.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
- name: Set a hostname
|
||||
ansible.builtin.hostname:
|
||||
name: "{{ inventory_hostname }}"
|
Reference in New Issue
Block a user