Matteo Scandolo | 3896c47 | 2017-08-01 13:31:42 -0700 | [diff] [blame] | 1 | |
| 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 Williams | 5223dd9 | 2017-02-28 23:38:02 -0700 | [diff] [blame] | 17 | --- |
| 18 | # onboard-profile-playbook.yml |
| 19 | # Configure XOS with profile-specific config |
| 20 | |
| 21 | - include: add-onboard-containers-playbook.yml |
| 22 | |
Matteo Scandolo | b92469d | 2017-07-28 17:32:00 -0700 | [diff] [blame] | 23 | - name: Check XOS Ready |
| 24 | hosts: head |
Zack Williams | 5223dd9 | 2017-02-28 23:38:02 -0700 | [diff] [blame] | 25 | connection: docker |
| 26 | roles: |
| 27 | - xos-ready |
Matteo Scandolo | b92469d | 2017-07-28 17:32:00 -0700 | [diff] [blame] | 28 | |
| 29 | - name: Apply profile config |
| 30 | hosts: xos_ui |
| 31 | connection: docker |
| 32 | roles: |
Zack Williams | 5223dd9 | 2017-02-28 23:38:02 -0700 | [diff] [blame] | 33 | - xos-config |
| 34 | |
Matteo Scandolo | b76c257 | 2017-10-02 18:05:58 -0700 | [diff] [blame] | 35 | - 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 | |