Skip to content
This repository has been archived by the owner on Jun 11, 2018. It is now read-only.
/ ansible-hostname Public archive

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

License

Notifications You must be signed in to change notification settings

knopki/ansible-hostname

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published