system/tasks/hostname.yml

7 lines
109 B
YAML
Raw Normal View History

2018-12-02 20:03:03 +00:00
- name: Ensure hostname set
2020-01-19 12:41:09 +00:00
hostname:
name: "{{ inventory_hostname }}"
2021-06-14 17:21:09 +00:00
use: systemd
become: yes