5 lines
128 B
YAML
5 lines
128 B
YAML
---
|
|
- name: Set hostname
|
|
ansible.builtin.hostname:
|
|
name: "{{ hostvars[inventory_hostname]['hostname'] }}"
|
|
use: systemd |