Andy Bavier | 12262e7 | 2016-12-02 11:36:57 -0500 | [diff] [blame] | 1 | --- |
2 | # Deploys XOS in Docker containers on the CORD head node | ||||
3 | |||||
4 | - name: Include vars | ||||
5 | hosts: all | ||||
6 | tasks: | ||||
7 | - name: Include variables | ||||
8 | include_vars: "{{ item }}" | ||||
9 | with_items: | ||||
10 | - vars/cord_defaults.yml | ||||
11 | - vars/cord.yml | ||||
12 | - vars/example_keystone.yml | ||||
13 | |||||
14 | - name: XOS setup | ||||
15 | hosts: head | ||||
16 | roles: | ||||
17 | - { role: xos-build, when: xos_container_rebuild } | ||||
18 | - xos-install | ||||
19 | |||||
20 | - name: Start XOS | ||||
21 | hosts: head | ||||
22 | roles: | ||||
23 | - xos-config | ||||
24 | - xos-head-start |