blob: 2711146466b7df14e898fd716efaa6e0305d422f [file] [log] [blame]
Matteo Scandolo3896c472017-08-01 13:31:42 -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
Zack Williams5223dd92017-02-28 23:38:02 -070017---
18# onboard-profile-playbook.yml
19# Configure XOS with profile-specific config
20
21- include: add-onboard-containers-playbook.yml
22
Matteo Scandolob92469d2017-07-28 17:32:00 -070023- name: Check XOS Ready
24 hosts: head
Zack Williams5223dd92017-02-28 23:38:02 -070025 connection: docker
26 roles:
27 - xos-ready
Matteo Scandolob92469d2017-07-28 17:32:00 -070028
Matteo Scandolo3fc188e2017-10-02 18:05:58 -070029- name: Include vars
30 hosts: config
31 tasks:
32 - name: Include variables
33 include_vars: "{{ item }}"
34 with_items:
35 - "profile_manifests/{{ cord_profile }}.yml"
36 - profile_manifests/local_vars.yml
37
38- name: Apply profile config (new engine)
39 hosts: head
40 roles:
41 - xos-config-new-tosca
42
Matteo Scandolo1ed76b82017-12-05 13:58:22 -080043- name: Apply profile config
44 hosts: xos_ui
45 connection: docker
46 roles:
47 - xos-config