mirror of
https://gitea.0xace.cc/ansible-galaxy/hostname.git
synced 2025-06-08 02:01:12 +00:00
add hostname role
This commit is contained in:
commit
8fe392a8d6
7
meta/main.yml
Normal file
7
meta/main.yml
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
galaxy_info:
|
||||
description: Hostname
|
||||
galaxy_tags:
|
||||
- hostname
|
||||
|
||||
dependencies: []
|
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 }}"
|
Loading…
x
Reference in New Issue
Block a user