Andy Bavier | a6cffe1 | 2017-03-15 17:33:42 -0400 | [diff] [blame] | 1 | --- |
| 2 | # launch-xos-playbook.yml |
| 3 | |
| 4 | - name: Include vars |
| 5 | hosts: all |
| 6 | tasks: |
| 7 | - name: Include variables |
| 8 | include_vars: "{{ item }}" |
| 9 | with_items: |
| 10 | - "profile_manifests/{{ cord_profile }}.yml" |
| 11 | - profile_manifests/local_vars.yml |
| 12 | |
| 13 | # for docker, docker-compose |
| 14 | - include: devel-tools-playbook.yml |
| 15 | |
| 16 | - name: Bootstrap XOS in docker |
| 17 | hosts: head |
| 18 | roles: |
| 19 | - xos-bootstrap |
| 20 | |
| 21 | - include: add-bootstrap-containers-playbook.yml |
| 22 | |
| 23 | - name: Onboard XOS services |
| 24 | hosts: xos_bootstrap_ui |
| 25 | connection: docker |
| 26 | roles: |
| 27 | - xos-onboarding |
| 28 | - xos-gui-extension-onboard |
| 29 | |
| 30 | - include: add-onboard-containers-playbook.yml |
| 31 | |
| 32 | - name: Check to see if XOS UI is ready, apply profile config |
| 33 | hosts: xos_ui |
| 34 | connection: docker |
| 35 | roles: |
| 36 | - xos-ready |
| 37 | - xos-config |