Andy Bavier | 3a1d064 | 2016-07-01 14:11:39 -0400 | [diff] [blame] | 1 | --- |
| 2 | # xos-start/tasks/main.yml |
| 3 | |
| 4 | - name: Build XOS containers |
| 5 | command: ansible xos-1 -u ubuntu -m shell \ |
Scott Baker | 828c9e8 | 2016-07-21 15:28:22 -0700 | [diff] [blame] | 6 | -a "bash -c \"set -o pipefail; cd {{ service_profile_repo_dest }}/{{ xos_configuration }}; make local_containers |& tee xos-build.out\"" |
Zack Williams | 3562456 | 2016-08-28 17:12:26 -0700 | [diff] [blame] | 7 | tags: |
| 8 | - skip_ansible_lint |
Andy Bavier | 3a1d064 | 2016-07-01 14:11:39 -0400 | [diff] [blame] | 9 | |
| 10 | - name: Onboard services and start XOS |
| 11 | command: ansible xos-1 -u ubuntu -m shell \ |
Scott Baker | 828c9e8 | 2016-07-21 15:28:22 -0700 | [diff] [blame] | 12 | -a "bash -c \"set -o pipefail; cd {{ service_profile_repo_dest }}/{{ xos_configuration }}; make xos |& tee xos-onboard.out\"" |
Zack Williams | 3562456 | 2016-08-28 17:12:26 -0700 | [diff] [blame] | 13 | tags: |
| 14 | - skip_ansible_lint |
Andy Bavier | 3a1d064 | 2016-07-01 14:11:39 -0400 | [diff] [blame] | 15 | |
| 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 Williams | 3562456 | 2016-08-28 17:12:26 -0700 | [diff] [blame] | 22 | tags: |
| 23 | - skip_ansible_lint |
Andy Bavier | 3a1d064 | 2016-07-01 14:11:39 -0400 | [diff] [blame] | 24 | |
| 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 Williams | 3562456 | 2016-08-28 17:12:26 -0700 | [diff] [blame] | 28 | tags: |
| 29 | - skip_ansible_lint |
Andy Bavier | 3a1d064 | 2016-07-01 14:11:39 -0400 | [diff] [blame] | 30 | |
| 31 | - name: Pause to let ONOS initialize |
| 32 | pause: seconds=20 |
Zack Williams | 3562456 | 2016-08-28 17:12:26 -0700 | [diff] [blame] | 33 | tags: |
| 34 | - skip_ansible_lint |
Andy Bavier | 3a1d064 | 2016-07-01 14:11:39 -0400 | [diff] [blame] | 35 | |
| 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 Williams | 3562456 | 2016-08-28 17:12:26 -0700 | [diff] [blame] | 39 | tags: |
| 40 | - skip_ansible_lint |
| 41 | |