blob: 16aafff0914eaa8cee6369e0bbdd8aceed637a4f [file] [log] [blame]
Luca Pretecb9a4632017-06-15 13:44:29 +02001# CORD POD - Sample configuration
David K. Bainbridged54ca702016-07-13 22:27:12 -07002---
David K. Bainbridged54ca702016-07-13 22:27:12 -07003
Luca Pretecb9a4632017-06-15 13:44:29 +02004# Head node access information:
5#
6# ip - The IP address that the dev node uses to reach the head node
7#
8# ansible_user - A valid sudoer user on the head node
9#
10# ansible_ssh_pass - The password of the sudoer user on the head node
11#
12# ansible_ssh_port - The SSH port that the dev node should use to reach the head node
13#
Zack Williams0620c932017-01-25 14:36:31 -070014headnode:
Luca Pretecb9a4632017-06-15 13:44:29 +020015 ip: '192.168.1.1'
16 ansible_user: 'cord'
17 ansible_ssh_pass: 'cord'
Zack Williams932646a2017-01-26 11:08:56 -070018 ansible_ssh_port: 22
David K. Bainbridged54ca702016-07-13 22:27:12 -070019
Luca Pretecb9a4632017-06-15 13:44:29 +020020# Other passwords:
21#
22# Password are optional. If not set, random passwords will be generated.
23#
24passwords:
25# compute_node: 'ubuntu'
26# maas_admin: 'admin'
27# maas_user: 'cord'
Zack Williamse29c7d82017-02-10 16:36:02 -070028
Luca Pretecb9a4632017-06-15 13:44:29 +020029# Docker settings:
30#
31docker:
32 imageVersion: 'candidate'
33
34common:
35 # CORD profile
36 #
37 # cord_profile - The profile of CORD you'd like to deploy.
38 # Options: rcord, ecord, ecord_global, mcord. For default, leave rcord
39 # cord_dir - The directory on the head node where CORD is copied to
40 #
41 # cord_profile_dir - The directory on the head node where the CORD profile is copied to
42 #
43 cord_profile: 'rcord'
Zack Williamse29c7d82017-02-10 16:36:02 -070044 cord_dir: '/opt/cord'
45 cord_profile_dir: '/opt/cord_profile'
David K. Bainbridged54ca702016-07-13 22:27:12 -070046 #
Luca Pretecb9a4632017-06-15 13:44:29 +020047 # Head node: external network configuration:
David K. Bainbridged54ca702016-07-13 22:27:12 -070048 #
Luca Pretecb9a4632017-06-15 13:44:29 +020049 # external_iface - The name of the interface that connects the head node to the
50 # Internet (optional)
51 # external_ip - The IP address and mask bits to be used to configure the network
52 # interface connecting the head node (and the POD) to the
53 # Internet. All traffic in the POD to external hosts will be
54 # NAT-ed through this interface
55 # external_gw - The IP address of the external network gateway, used to reach
56 # the Internet
57 #external_iface: 'eth2'
58 external_ip: '192.168.1.1/24'
59 external_gw: '192.168.1.254'
David K. Bainbridged54ca702016-07-13 22:27:12 -070060 #
Luca Pretecb9a4632017-06-15 13:44:29 +020061 # Head node: internal (management) network configuration:
62 #
63 # management_network - The network and mask bits to used for hosts on the management
64 # network
65 # management_ip - The IP address and mask bits to be used to configure the network
66 # interface connecting the head node to the POD internal
67 # management network. The head node will deliver DHCP addresses to
68 # the other compute nodes over this interface
69 # management_range_low - The lowest IP to be assigned on the internal management network
70 # (optional)
71 # management_range_high - The highest IP to be assigned on the internal management network
72 # (optional)
73 management_network: '10.6.0.0/24'
David K. Bainbridged54ca702016-07-13 22:27:12 -070074 management_ip: '10.6.0.1/24'
David K. Bainbridge9ea73d62016-11-22 12:59:28 -080075 #management_range_low: '10.6.0.2'
76 #management_range_high: '10.6.0.127'
David K. Bainbridged54ca702016-07-13 22:27:12 -070077 #
Luca Pretecb9a4632017-06-15 13:44:29 +020078 # Head node: fabric network configuartion:
David K. Bainbridged54ca702016-07-13 22:27:12 -070079 #
Luca Pretecb9a4632017-06-15 13:44:29 +020080 # fabric_ip - The IP address and mask bits to be used to configure the network
81 # interface connected to the leaf - spine fabric
82 # fabric_range_low - The lowest IP to be assigned to the fabric switches (optional)
83 #
84 # fabric_range_high - The highest IP to be assigned to the fabric switches (optional)
85 #
86 fabric_ip: '10.6.1.1/24'
87 #fabric_range_low: '10.6.1.2'
88 #fabric_range_high: '10.6.1.100'
89 #
90 # SkipTags options
91 #
92 # Allow various part of the deployment to be skipped.
93 # All extra vars are optional.
94 #
95 # switch_support - Does not deploy switch boot images to the PXE server
96 #
97 # reboot - Will not reboot the head node after updating its network configuration
98 # this may mean the network configuration will not take effect, but will
99 # also prevent you from being locked out of the server if there is a
100 # network configuration error
101 # interface_config - Will not modify the network configuration of the head node,
102 # including the consistent naming of the network interfaces
David K. Bainbridged54ca702016-07-13 22:27:12 -0700103 skipTags:
104 # - 'switch_support'
105 # - 'reboot'
106 # - 'interface_config'
Luca Pretecb9a4632017-06-15 13:44:29 +0200107 #
108 # Extra vars:
109 #
David K. Bainbridge53e623f2016-10-04 21:11:37 -0700110 # The following variable settings can be used to customize how the network interfaces
111 # are selected into the fabric and management bridge interface or ignored/excluded.
Luca Pretecb9a4632017-06-15 13:44:29 +0200112 # See the documentation for more information about how to set these variables.
113 # All extra vars are optional.
114 #
David K. Bainbridge53e623f2016-10-04 21:11:37 -0700115 extraVars:
116 # - 'fabric_include_names=<name1>,<name2>,...'
117 # - 'fabric_include_module_types=<mtype1>,<mtype2>,...'
118 # - 'fabric_include_bus_types=<btype1>,<btype2>,...'
119 # - 'fabric_exclude_names=<name1>,<name2>,...'
120 # - 'fabric_exclude_module_types=<mtype1>,<mtype2>,...'
121 # - 'fabric_exclude_bus_types=<btype1>,<btype2>,...'
122 # - 'fabric_ignore_names=<name1>,<name2>,...'
123 # - 'fabric_ignore_module_types=<mtype1>,<mtype2>,...'
124 # - 'fabric_ignore_bus_types=<btype1>,<btype2>,...'
125 # - 'management_include_names=<name1>,<name2>,...'
126 # - 'management_include_module_types=<mtype1>,<mtype2>,...'
127 # - 'management_include_bus_types=<btype1>,<btype2>,...'
128 # - 'management_exclude_names=<name1>,<name2>,...'
129 # - 'management_exclude_module_types=<mtype1>,<mtype2>,...'
130 # - 'management_exclude_bus_types=<btype1>,<btype2>,...'
131 # - 'management_ignore_names=<name1>,<name2>,...'
132 # - 'management_ignore_module_types=<mtype1>,<mtype2>,...'
133 # - 'management_ignore_bus_types=<btype1>,<btype2>,...'
Luca Pretecb9a4632017-06-15 13:44:29 +0200134 # - 'ubuntu_apt_repo="deb [arch=amd64] http://10.1.0.1:8889/mirror/archive.ubuntu.com/ubuntu trusty main universe"'
135 # - 'ubuntu_updates_apt_repo="deb [arch=amd64] http://10.1.0.1:8889/mirror/archive.ubuntu.com/ubuntu trusty-updates main universe"'
136 # - 'docker_apt_repo="deb [arch=amd64] http://10.1.0.1:8889/mirror/apt.dockerproject.org/repo ubuntu-trusty main"'
137 # - 'java_apt_repo="deb [arch=amd64] http://10.1.0.1:8889/mirror/ppa.launchpad.net/webupd8team/java/ubuntu trusty main"'
138 # - 'ansible_apt_repo="deb [arch=amd64] http://10.1.0.1:8889/mirror/ppa.launchpad.net/ansible/ansible/ubuntu trusty main"'
139 # - 'maas_apt_repo="deb [arch=amd64] http://10.1.0.1:8889/mirror/ppa.launchpad.net/maas/stable/ubuntu trusty main"'
140 # - 'dell_apt_repo="deb [arch=amd64] http://10.1.0.1:8889/mirror/linux.dell.com/repo/community trusty openmanage"'
141 # - 'juju_apt_repo="deb [arch=amd64] http://10.1.0.1:8889/mirror/ppa.launchpad.net/juju/stable/ubuntu trusty main"'