Commit Graph

2 Commits (993e29c0fe94ce41cc8bf1294fe88f313fc84633)

Author SHA1 Message Date
Dustin 712d298b38 hostname: Also write /etc/hosts
This commit introduces a new role, *hostname*, that is used by the
`hostname.yml` playbook to set the hostname. It also writes
`/etc/hosts` using a template.
2018-04-08 10:11:43 -05:00
Dustin e327db1f4f hostname: Playbook to set system hostname
The `hostname.yml` playbook does what it says on the tin: it sets the
hostname of the managed node. The `preferred_hostname` variable can be
used to specify the value to use for the hostname. If it is not set, the
name specified in the inventory is used.
2018-01-02 23:37:00 -06:00