Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 1 | --- |
| 2 | # onboard-exampleservice.yml |
| 3 | # Adds the exampleservice to the currently running pod |
| 4 | |
| 5 | - name: Include vars |
Zack Williams | 904e87f | 2017-03-02 14:35:28 -0700 | [diff] [blame] | 6 | hosts: head |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 7 | tasks: |
| 8 | - name: Include variables |
| 9 | include_vars: "{{ item }}" |
| 10 | with_items: |
| 11 | - "profile_manifests/{{ cord_profile }}.yml" |
| 12 | - profile_manifests/local_vars.yml |
| 13 | |
| 14 | - name: Create exampleservice config |
| 15 | hosts: head |
| 16 | roles: |
| 17 | - exampleservice-config |
| 18 | |
| 19 | - include: add-bootstrap-containers-playbook.yml |
| 20 | |
| 21 | - name: Onboard exampleservice services |
| 22 | hosts: xos_bootstrap_ui |
| 23 | connection: docker |
| 24 | roles: |
| 25 | - exampleservice-onboard |
| 26 | |
| 27 | - include: add-onboard-containers-playbook.yml |
| 28 | |
| 29 | - name: Check to see if XOS UI is ready |
| 30 | hosts: xos_ui |
| 31 | connection: docker |
| 32 | roles: |
| 33 | - xos-ready |
| 34 | |
| 35 | |