blob: fd0ab588f811567c34aaf3026a8197c8fb4f5893 [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
29- name: Apply profile config
30 hosts: xos_ui
31 connection: docker
32 roles:
Zack Williams5223dd92017-02-28 23:38:02 -070033 - xos-config
34
Matteo Scandolob76c2572017-10-02 18:05:58 -070035- name: Include vars
36 hosts: config
37 tasks:
38 - name: Include variables
39 include_vars: "{{ item }}"
40 with_items:
41 - "profile_manifests/{{ cord_profile }}.yml"
42 - profile_manifests/local_vars.yml
43
44- name: Apply profile config (new engine)
45 hosts: head
46 roles:
47 - xos-config-new-tosca
48