1 2 3 4 5 6 7 8
--- # defaults file for hostname # The hostname to set. By default whatever the inventory is set to. hostname: "{{ inventory_hostname }}" # Should the machine be rebooted when the hostname is changed? hostname_reboot: yes