Skip to content
This repository was archived by the owner on Jun 11, 2018. It is now read-only.

Latest commit

 

History

History
30 lines (19 loc) · 656 Bytes

README.md

File metadata and controls

30 lines (19 loc) · 656 Bytes

DEPRECATED AND UNMANTAINED

This role is useless because Ansible hostname module supports most distributions now.

hostname

Set hostname via Ansible hostname module and updates /etc/hosts with hostname and domain.

Requirements

Ansible version 1.4 with modules hostname and template. Ansible module hostname currently implemented on only Debian, Ubuntu, RedHat and CentOS.

Role Variables

  • hostname_name - new hostname (not FQDN, before first dot)
  • hostname_domain - new domain name

License

MIT

Author Information

Sergey Korolev (korolev.srg@gmail.com)