Configure the hostname of a linux host
- Set the hostname via
hostnamectl
- Update the hosts file with the new hostname
Name | Default | Description |
---|---|---|
hostname_fqdn |
localhost.localdomain |
The FQDN to set as the hostname |
hostname_refresh_facts |
true |
Gather facts again after changing the hostname? |
Testing for this project is setup using Molecule & Vagrant. Unit tests can be run using the below command:
foo@bar:~$ molecule test --all