blob: db04ae28a248a55c91077248ab6c4a0356b1e6d8 [file] [log] [blame]
Zack Williams9f42b972018-01-10 15:05:35 -07001---
2# Copyright 2017-present Open Networking Foundation
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
16# preppedkube Scenario - install CORD on kubernetes, on pre-prepared systems with OS installed
17
18frontend_only: False
19use_k8s: True
20use_maas: False
21use_openstack: False
22
23# create a cord_profile dir next to the cord checkout
24config_cord_dir: "{{ ( playbook_dir ~ '/../..' ) | realpath }}"
25config_cord_profile_dir: "{{ ( playbook_dir ~ '/../../../cord_profile' ) | realpath }}"
26
27create_configdirs_become: False
28
29build_cord_dir: /opt/cord
30
31# Vagrant VM configuration
32vagrant_box: "bento/ubuntu-16.04"
33
34head_vm_mem: 16384
35head_vm_cpu: 8
36
37compute_vm_mem: 16384
38compute_vm_cpu: 8
39
40buildnode: head1
41headnode: head1
42
43vagrant_vms:
44 - head1
45 - compute1
46 - compute2
47
48# Make build config
49build_targets:
50 - start-xos-helm
51
52vagrant_up_prereqs:
53 - prereqs-check
54
55config_ssh_key_prereqs:
56 - vagrant-ssh-install
57
58copy_cord_prereqs:
59 - vagrant-ssh-install
60
61cord_config_prereqs:
62 - vagrant-ssh-install
63 - copy-cord
64
65prep_buildnode_prereqs:
66 - copy-cord
67 - copy-config
68
69# Run build prep before head prep, when build == head
70prep_headnode_prereqs:
71 - prep-buildnode
72
73# Wait until headnode prepped before building containers, for consistent DNS
74docker_images_prereqs:
75 - prep-headnode
76
Zack Williamsd589e082018-03-01 17:21:56 -070077# FIXME: check out and use this kubespray commit (set on 2018-03-02 by zdw):
78# https://github.com/kubernetes-incubator/kubespray/commit/b75b6b513b7d26a0fce3dd55a77ef538d18433a5
79kubespray_version: b75b6b513b7d26a0fce3dd55a77ef538d18433a5
80
Zack Williams9f42b972018-01-10 15:05:35 -070081# have kubespray skip docker installation
82skipTags:
83 - docker
84
85# node topology, used to bring up management interfaces
86physical_node_list:
87 - name: head1
88 ipv4_last_octet: 1
89 aliases:
90 - head
91 - name: compute1
92 ipv4_last_octet: 17
93 - name: compute2
94 ipv4_last_octet: 18
95
Zack Williams9f42b972018-01-10 15:05:35 -070096vm_management_network_name: cordmgmt
97vm_public_network_name: cordpub
98vm_public_network_cidr: "10.230.100.0/24"
99
Zack Williams9f42b972018-01-10 15:05:35 -0700100# images for imagebuilder to build/pull (tagged elsewhere)
101docker_image_whitelist:
102 - "xosproject/xos-base"
Scott Baker3c3f06a2018-03-29 15:38:36 -0700103 - "xosproject/xos-core"
Zack Williams9f42b972018-01-10 15:05:35 -0700104 - "xosproject/xos-client"
Zack Williams9f42b972018-01-10 15:05:35 -0700105 - "xosproject/xos-gui"
106 - "xosproject/xos-gui-builder"
107 - "xosproject/xos-libraries"
108 - "xosproject/xos-postgres"
109 - "xosproject/xos-tosca"
110 - "xosproject/xos-ws"
111 - "xosproject/chameleon"
112 - "xosproject/xos-synchronizer-base"
Zack Williams9f42b972018-01-10 15:05:35 -0700113 - "nginx"
114 - "onosproject/onos"
115 - "opencord/mavenrepo"
116 - "redis"
117 - "node"
118 - "sebp/elk"
119
120# Ansible Inventory
121inventory_groups:
122
123 config:
124 localhost:
125 ansible_connection: local
126
127 build:
128 head1:
129
130 head:
131 head1:
132
133 compute:
134 compute1:
135 compute2:
136