blob: a8197270f7166f5d3f001f96d43581e534d38708 [file] [log] [blame]
Andy Bavier3a1d0642016-07-01 14:11:39 -04001---
2# xos-start/tasks/main.yml
3
4- name: Build XOS containers
5 command: ansible xos-1 -u ubuntu -m shell \
6 -a "cd {{ service_profile_repo_dest }}/{{ xos_configuration }}; make local_containers | tee xos-build.out"
7
8- name: Onboard services and start XOS
9 command: ansible xos-1 -u ubuntu -m shell \
10 -a "cd {{ service_profile_repo_dest }}/{{ xos_configuration }}; make xos | tee xos-onboard.out"
11
12- name: Pause to let XOS initialize
13 pause: seconds=120
14
15- name: Initial VTN configuration
16 command: ansible xos-1 -u ubuntu -m shell \
17 -a "cd {{ service_profile_repo_dest }}/{{ xos_configuration }}; make vtn"
18
19- name: Initial fabric configuration
20 command: ansible xos-1 -u ubuntu -m shell \
21 -a "cd {{ service_profile_repo_dest }}/{{ xos_configuration }}; make fabric"
22
23- name: Pause to let ONOS initialize
24 pause: seconds=20
25
26- name: Configure CORD services
27 command: ansible xos-1 -u ubuntu -m shell \
28 -a "cd {{ service_profile_repo_dest }}/{{ xos_configuration }}; make cord"