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

View File

@@ -0,0 +1,6 @@
---
# tasks file for roles/hostname
- name: "Set the hostname to '{{ hostname }}'"
tags: [ hostname ]
ansible.builtin.hostname:
name: "{{ hostname }}"