blob: 0c98c67a43dfe8f4501be9e23a6de623f033d554 [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 \
Scott Baker828c9e82016-07-21 15:28:22 -07006 -a "bash -c \"set -o pipefail; cd {{ service_profile_repo_dest }}/{{ xos_configuration }}; make local_containers |& tee xos-build.out\""
Andy Bavier3a1d0642016-07-01 14:11:39 -04007
8- name: Onboard services and start XOS
9 command: ansible xos-1 -u ubuntu -m shell \
Scott Baker828c9e82016-07-21 15:28:22 -070010 -a "bash -c \"set -o pipefail; cd {{ service_profile_repo_dest }}/{{ xos_configuration }}; make xos |& tee xos-onboard.out\""
Andy Bavier3a1d0642016-07-01 14:11:39 -040011
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"