blob: 6c7ebb1a3e2dc170363f3ba494afda91314e8807 [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\""
Zack Williams35624562016-08-28 17:12:26 -07007 tags:
8 - skip_ansible_lint
Andy Bavier3a1d0642016-07-01 14:11:39 -04009
10- name: Onboard services and start XOS
11 command: ansible xos-1 -u ubuntu -m shell \
Scott Baker828c9e82016-07-21 15:28:22 -070012 -a "bash -c \"set -o pipefail; cd {{ service_profile_repo_dest }}/{{ xos_configuration }}; make xos |& tee xos-onboard.out\""
Zack Williams35624562016-08-28 17:12:26 -070013 tags:
14 - skip_ansible_lint
Andy Bavier3a1d0642016-07-01 14:11:39 -040015
16- name: Pause to let XOS initialize
17 pause: seconds=120
18
19- name: Initial VTN configuration
20 command: ansible xos-1 -u ubuntu -m shell \
21 -a "cd {{ service_profile_repo_dest }}/{{ xos_configuration }}; make vtn"
Zack Williams35624562016-08-28 17:12:26 -070022 tags:
23 - skip_ansible_lint
Andy Bavier3a1d0642016-07-01 14:11:39 -040024
25- name: Initial fabric configuration
26 command: ansible xos-1 -u ubuntu -m shell \
27 -a "cd {{ service_profile_repo_dest }}/{{ xos_configuration }}; make fabric"
Zack Williams35624562016-08-28 17:12:26 -070028 tags:
29 - skip_ansible_lint
Andy Bavier3a1d0642016-07-01 14:11:39 -040030
31- name: Pause to let ONOS initialize
32 pause: seconds=20
Zack Williams35624562016-08-28 17:12:26 -070033 tags:
34 - skip_ansible_lint
Andy Bavier3a1d0642016-07-01 14:11:39 -040035
36- name: Configure CORD services
37 command: ansible xos-1 -u ubuntu -m shell \
38 -a "cd {{ service_profile_repo_dest }}/{{ xos_configuration }}; make cord"
Zack Williams35624562016-08-28 17:12:26 -070039 tags:
40 - skip_ansible_lint
41