system/tasks/hostname.yml
vincent 1419eaa003
All checks were successful
continuous-integration/drone/push Build is passing
style: correct ansible lint
2022-12-10 20:25:54 +01:00

6 lines
125 B
YAML

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