From 06f2fe3bf2e1a764a866434af7035a84aecea53d Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Wed, 14 Jun 2017 23:22:43 +0800 Subject: Add basic group variables --- group_vars/master | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 group_vars/master (limited to 'group_vars/master') 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: -- cgit v1.2.2