0
0
vps-set-up-playbook/roles/hostname/tasks/main.yaml

3 lines
84 B
YAML
Raw Normal View History

2023-11-13 11:47:39 +08:00
- name: Set hostname
command: "hostnamectl set-hostname {{ inventory_hostname }}"