This role is useless because Ansible hostname
module supports most distributions now.
Set hostname via Ansible hostname module and updates /etc/hosts with hostname and domain.
Ansible version 1.4 with modules hostname and template. Ansible module hostname currently implemented on only Debian, Ubuntu, RedHat and CentOS.
- hostname_name - new hostname (not FQDN, before first dot)
- hostname_domain - new domain name
MIT
Sergey Korolev (korolev.srg@gmail.com)