system/tasks/hostname.yml

6 lines
125 B
YAML
Raw Normal View History

2018-12-02 20:03:03 +00:00
- name: Ensure hostname set
2022-12-10 17:51:03 +00:00
ansible.builtin.hostname:
2020-01-19 12:41:09 +00:00
name: "{{ inventory_hostname }}"
2021-06-14 17:21:09 +00:00
use: systemd
2022-02-13 08:40:15 +00:00
become: true