aboutsummaryrefslogtreecommitdiffstats
path: root/roles/hostname/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'roles/hostname/README.md')
-rw-r--r--roles/hostname/README.md25
1 files changed, 25 insertions, 0 deletions
diff --git a/roles/hostname/README.md b/roles/hostname/README.md
new file mode 100644
index 0000000..5f52972
--- /dev/null
+++ b/roles/hostname/README.md
@@ -0,0 +1,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>)