add hostname role

This commit is contained in:
Sergey Malyuk
2026-03-18 17:35:08 +03:00
parent 60459d34d9
commit e9802e7c35
6 changed files with 65 additions and 0 deletions

39
roles/hostname/README.md Normal file
View File

@@ -0,0 +1,39 @@
Role Name
=========
Set the node's hostname.
Requirements
------------
None
Role Variables
--------------
`hostname`
Dependencies
------------
Example Playbook
----------------
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
```yaml
- hosts: servers
roles:
- { role: username.rolename, x: 42 }
```
License
-------
BSD
Author Information
------------------
corvus-migratorius@proton.me