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.
This commit is contained in:
2018-04-08 10:11:43 -05:00
parent 66339a827d
commit 712d298b38
4 changed files with 13 additions and 4 deletions

View File

@@ -0,0 +1 @@
preferred_hostname: '{{ inventory_hostname }}'