aboutsummaryrefslogtreecommitdiffstats
path: root/roles/hostname/README.md
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2016-04-09 20:35:43 -0400
committerbnewbold <bnewbold@robocracy.org>2016-04-09 20:35:45 -0400
commit36de211ca5ff9a2c0add03ff923a5d43788c0ae6 (patch)
tree396932784bfb252be460384ea43df10847896059 /roles/hostname/README.md
parentde3755c284411432c7565fa0f01f1487abe65aaf (diff)
downloadinfra-36de211ca5ff9a2c0add03ff923a5d43788c0ae6.tar.gz
infra-36de211ca5ff9a2c0add03ff923a5d43788c0ae6.zip
import ansible-hostname role
Pretty ridiculous that this is required
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>)