JasperAlgra.hostname

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)

About

Set hostname and domain

Install
ansible-galaxy install JasperAlgra.hostname
GitHub repository
License
mit
Downloads
72