blob: 75d985b4adf653b1a3793279a50ffe0e033cd85f [file] [log] [blame]
Matteo Scandoloede125b2017-08-08 13:05:25 -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
Scott Bakerc41914d2017-06-26 14:00:52 -070017---
18
19- name: Include vars
20 hosts: all
21 tasks:
22 - name: Include variables
23 include_vars: "{{ item }}"
24 with_items:
25 - "/opt/cord/build/platform-install/profile_manifests/{{ cord_profile }}.yml"
26 - /opt/cord/build/platform-install/profile_manifests/local_vars.yml
27
28- name: Create config and inventory for talking to cmi
29 hosts: all
30 roles:
31 - generate-inventory
32
33- name: Create CORD profile
34 hosts: config
35 roles:
36 - cdn-cord-profile
37
38- include: /opt/cord/build/platform-install/add-onboard-containers-playbook.yml
39
40- name: Check to see if XOS UI is ready, apply profile config
41 hosts: xos_ui
42 connection: docker
43 roles:
44 - cdn-xos-config