system/tasks/hostname.yml
2022-02-13 09:42:01 +01:00

6 lines
109 B
YAML

- name: Ensure hostname set
hostname:
name: "{{ inventory_hostname }}"
use: systemd
become: true