aboutsummaryrefslogtreecommitdiffstats
path: root/group_vars/master
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2017-06-14 23:22:43 +0800
committerAaron LI <aly@aaronly.me>2017-06-14 23:22:43 +0800
commit06f2fe3bf2e1a764a866434af7035a84aecea53d (patch)
treee10259761920636bb2cef5c6dbf87b9a815a510e /group_vars/master
parent408d9feb9936803b3b1e91abd9b8cf53e59dc579 (diff)
downloaddebian-hpc-06f2fe3bf2e1a764a866434af7035a84aecea53d.tar.bz2
Add basic group variables
Diffstat (limited to 'group_vars/master')
-rw-r--r--group_vars/master37
1 files changed, 37 insertions, 0 deletions
diff --git a/group_vars/master b/group_vars/master
new file mode 100644
index 0000000..d5084e5
--- /dev/null
+++ b/group_vars/master
@@ -0,0 +1,37 @@
+---
+#
+# Variables for the master node only
+#
+
+#
+# WAN
+#
+
+# Interface attached to the WAN
+wan_if: eth1
+
+#
+# LAN for the cluster nodes
+#
+
+# Interface attached to the cluster LAN
+lan_if: eth0
+# LAN IP for the master
+lan_ip: 192.168.1.254
+
+lan_dhcp_begin: 192.168.1.1
+lan_dhcp_end: 192.168.1.200
+lan_netmask: 255.255.255.0
+
+#
+# Auto system installation for nodes
+#
+
+tftp_root: /srv/tftp
+
+# Mirror from where to install packages
+apt_mirror: ftp.sjtu.edu.cn
+# Source for the security updates
+apt_security_host: ftp.sjtu.edu.cn
+
+# vim: set ft=yaml sw=2: