David K. Bainbridge | d54ca70 | 2016-07-13 22:27:12 -0700 | [diff] [blame] | 1 | # Deployment configuration for a phyical hardware POD |
| 2 | --- |
David K. Bainbridge | d54ca70 | 2016-07-13 22:27:12 -0700 | [diff] [blame] | 3 | |
Zack Williams | 0620c93 | 2017-01-25 14:36:31 -0700 | [diff] [blame] | 4 | headnode: |
| 5 | ip: '10.90.0.2' |
Zack Williams | 932646a | 2017-01-26 11:08:56 -0700 | [diff] [blame] | 6 | ansible_user: 'ubuntu' |
| 7 | ansible_ssh_pass: 'ubuntu' |
| 8 | ansible_ssh_port: 22 |
David K. Bainbridge | d54ca70 | 2016-07-13 22:27:12 -0700 | [diff] [blame] | 9 | |
Zack Williams | 0620c93 | 2017-01-25 14:36:31 -0700 | [diff] [blame] | 10 | common: |
Zack Williams | e29c7d8 | 2017-02-10 16:36:02 -0700 | [diff] [blame] | 11 | # set to the profile of cord you want to install |
| 12 | cord_profile: 'rcord' |
| 13 | |
Zack Williams | 83a94ce | 2017-05-20 13:36:09 -0700 | [diff] [blame] | 14 | # cord dir is shared to corddev VM, causing permissions issues if these aren't set |
Zack Williams | 31fbc6b | 2017-04-21 22:04:44 -0700 | [diff] [blame] | 15 | credentials_dir: '/opt/credentials' |
| 16 | pki_dir: '/opt/pki' |
| 17 | ssh_pki_dir: '/opt/ssh_pki' |
Zack Williams | 0620c93 | 2017-01-25 14:36:31 -0700 | [diff] [blame] | 18 | |
David K. Bainbridge | d54ca70 | 2016-07-13 22:27:12 -0700 | [diff] [blame] | 19 | # Network address information for the head node: |
| 20 | # |
| 21 | # fabric_ip - the IP address and mask bits to be used to configure the network |
| 22 | # interface connected to the leaf - spine fabric |
| 23 | # |
| 24 | # management_ip - the IP address and mask bits to be used to configure the network |
| 25 | # interface connecting the head node to the POD internal |
| 26 | # management network. The head node will deliver DHCP addresses to |
| 27 | # the other compute nodes over this interface |
| 28 | # |
| 29 | # external_ip - the IP address and mask bits to be used to configure the network |
| 30 | # interface connecting the head node (and the POD) to the |
| 31 | # Internet. All traffic in the POD to external hosts will be |
| 32 | # NAT-ed through this interface |
David K. Bainbridge | d54ca70 | 2016-07-13 22:27:12 -0700 | [diff] [blame] | 33 | # external_iface - the name of the interface that connects the head node to the |
| 34 | # Internet |
| 35 | # management_network - the network and mask bits to used for hosts on the management |
| 36 | # network |
| 37 | fabric_ip: '10.6.1.1/24' |
David K. Bainbridge | 1705b81 | 2016-10-27 11:00:04 -0700 | [diff] [blame] | 38 | #fabric_range_low: '10.6.1.2' |
| 39 | #fabric_range_high: '10.6.1.100' |
David K. Bainbridge | d54ca70 | 2016-07-13 22:27:12 -0700 | [diff] [blame] | 40 | management_ip: '10.6.0.1/24' |
David K. Bainbridge | 9ea73d6 | 2016-11-22 12:59:28 -0800 | [diff] [blame] | 41 | #management_range_low: '10.6.0.2' |
| 42 | #management_range_high: '10.6.0.127' |
David K. Bainbridge | d54ca70 | 2016-07-13 22:27:12 -0700 | [diff] [blame] | 43 | external_ip: '47.135.132.21/24' |
David K. Bainbridge | d54ca70 | 2016-07-13 22:27:12 -0700 | [diff] [blame] | 44 | #external_iface: 'eth2' |
Murat Parlakisik | b7a6bf3 | 2016-08-24 06:52:28 -0700 | [diff] [blame] | 45 | management_network: 10.6.0.0/24 |
David K. Bainbridge | d54ca70 | 2016-07-13 22:27:12 -0700 | [diff] [blame] | 46 | |
| 47 | # the skipTags options allow various part of the deployment to be skipped |
| 48 | # switch_support - does not deploy switch boot images to the PXE server |
| 49 | # |
| 50 | # reboot - will not reboot the head node after updating its network configuration |
| 51 | # this may mean the network configuration will not take effect, but will |
David K. Bainbridge | 53e623f | 2016-10-04 21:11:37 -0700 | [diff] [blame] | 52 | # also prevent you from being locked out of the server if there is a |
David K. Bainbridge | d54ca70 | 2016-07-13 22:27:12 -0700 | [diff] [blame] | 53 | # network configuration error. |
| 54 | # |
| 55 | # interface_config - will not modify the network configuration of the head node, |
| 56 | # including the consistent naming of the network interfaces |
| 57 | skipTags: |
| 58 | # - 'switch_support' |
| 59 | # - 'reboot' |
| 60 | # - 'interface_config' |
| 61 | |
David K. Bainbridge | 53e623f | 2016-10-04 21:11:37 -0700 | [diff] [blame] | 62 | # The following variable settings can be used to customize how the network interfaces |
| 63 | # are selected into the fabric and management bridge interface or ignored/excluded. |
| 64 | # See the documentation docs/quickstart_physical.md for more information about how |
| 65 | # to set these variables. |
| 66 | extraVars: |
| 67 | # - 'fabric_include_names=<name1>,<name2>,...' |
| 68 | # - 'fabric_include_module_types=<mtype1>,<mtype2>,...' |
| 69 | # - 'fabric_include_bus_types=<btype1>,<btype2>,...' |
| 70 | # - 'fabric_exclude_names=<name1>,<name2>,...' |
| 71 | # - 'fabric_exclude_module_types=<mtype1>,<mtype2>,...' |
| 72 | # - 'fabric_exclude_bus_types=<btype1>,<btype2>,...' |
| 73 | # - 'fabric_ignore_names=<name1>,<name2>,...' |
| 74 | # - 'fabric_ignore_module_types=<mtype1>,<mtype2>,...' |
| 75 | # - 'fabric_ignore_bus_types=<btype1>,<btype2>,...' |
| 76 | # - 'management_include_names=<name1>,<name2>,...' |
| 77 | # - 'management_include_module_types=<mtype1>,<mtype2>,...' |
| 78 | # - 'management_include_bus_types=<btype1>,<btype2>,...' |
| 79 | # - 'management_exclude_names=<name1>,<name2>,...' |
| 80 | # - 'management_exclude_module_types=<mtype1>,<mtype2>,...' |
| 81 | # - 'management_exclude_bus_types=<btype1>,<btype2>,...' |
| 82 | # - 'management_ignore_names=<name1>,<name2>,...' |
| 83 | # - 'management_ignore_module_types=<mtype1>,<mtype2>,...' |
| 84 | # - 'management_ignore_bus_types=<btype1>,<btype2>,...' |
David K. Bainbridge | 1705b81 | 2016-10-27 11:00:04 -0700 | [diff] [blame] | 85 | # - ubuntu_apt_repo="deb [arch=amd64] http://10.1.0.1:8889/mirror/archive.ubuntu.com/ubuntu trusty main universe" |
| 86 | # - ubuntu_updates_apt_repo="deb [arch=amd64] http://10.1.0.1:8889/mirror/archive.ubuntu.com/ubuntu trusty-updates main universe" |
| 87 | # - docker_apt_repo="deb [arch=amd64] http://10.1.0.1:8889/mirror/apt.dockerproject.org/repo ubuntu-trusty main" |
| 88 | # - java_apt_repo="deb [arch=amd64] http://10.1.0.1:8889/mirror/ppa.launchpad.net/webupd8team/java/ubuntu trusty main" |
| 89 | # - ansible_apt_repo="deb [arch=amd64] http://10.1.0.1:8889/mirror/ppa.launchpad.net/ansible/ansible/ubuntu trusty main" |
| 90 | # - maas_apt_repo="deb [arch=amd64] http://10.1.0.1:8889/mirror/ppa.launchpad.net/maas/stable/ubuntu trusty main" |
| 91 | # - dell_apt_repo="deb [arch=amd64] http://10.1.0.1:8889/mirror/linux.dell.com/repo/community trusty openmanage" |
| 92 | # - juju_apt_repo="deb [arch=amd64] http://10.1.0.1:8889/mirror/ppa.launchpad.net/juju/stable/ubuntu trusty main" |
David K. Bainbridge | 53e623f | 2016-10-04 21:11:37 -0700 | [diff] [blame] | 93 | |
David K. Bainbridge | 0605220 | 2016-12-02 14:22:40 -0800 | [diff] [blame] | 94 | # If passwords are not set, random passwords will be generated |
| 95 | passwords: |
| 96 | #compute_node: ubuntu |
| 97 | #maas_admin: admin |
| 98 | #maas_user: cord |
| 99 | |
David K. Bainbridge | d54ca70 | 2016-07-13 22:27:12 -0700 | [diff] [blame] | 100 | docker: |
| 101 | imageVersion: candidate |