blob: 75d985b4adf653b1a3793279a50ffe0e033cd85f [file] [log] [blame]
# Copyright 2017-present Open Networking Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
---
- name: Include vars
hosts: all
tasks:
- name: Include variables
include_vars: "{{ item }}"
with_items:
- "/opt/cord/build/platform-install/profile_manifests/{{ cord_profile }}.yml"
- /opt/cord/build/platform-install/profile_manifests/local_vars.yml
- name: Create config and inventory for talking to cmi
hosts: all
roles:
- generate-inventory
- name: Create CORD profile
hosts: config
roles:
- cdn-cord-profile
- include: /opt/cord/build/platform-install/add-onboard-containers-playbook.yml
- name: Check to see if XOS UI is ready, apply profile config
hosts: xos_ui
connection: docker
roles:
- cdn-xos-config