system/tasks/hostname.yml
vincent ee96ad264d
Some checks failed
continuous-integration/drone/push Build is failing
add systemd parameter to hostname
2021-06-14 19:21:09 +02:00

7 lines
109 B
YAML

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