aboutsummaryrefslogtreecommitdiffstats
path: root/roles/hostname/README.md
blob: 5f52972df1988943413850c7c97f834dbcaf43ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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>)