Zack Williams | fc102dd | 2016-03-01 17:31:30 -0700 | [diff] [blame] | 1 | --- |
| 2 | # tasks for xos-install role |
| 3 | |
Zack Williams | d2cbe51 | 2016-06-03 09:33:15 -0700 | [diff] [blame] | 4 | - name: checkout XOS repo |
| 5 | git: repo={{ xos_repo_url }} |
| 6 | dest={{ xos_repo_dest }} |
| 7 | version={{ xos_repo_branch }} |
| 8 | |
Scott Baker | 333a315 | 2016-06-29 08:58:42 -0700 | [diff] [blame] | 9 | - name: checkout service-profile repo |
| 10 | git: repo={{ service_profile_repo_url }} |
| 11 | dest={{ service_profile_repo_dest }} |
| 12 | version={{ service_profile_repo_branch }} |
| 13 | |
Zack Williams | c563b57 | 2016-06-03 09:49:53 -0700 | [diff] [blame] | 14 | - name: Rebuild XOS containers |
| 15 | when: xos_container_rebuild |
Zack Williams | 72a9ab4 | 2016-06-08 08:32:49 -0700 | [diff] [blame] | 16 | command: make {{ item }} |
Scott Baker | 333a315 | 2016-06-29 08:58:42 -0700 | [diff] [blame] | 17 | chdir="{{ service_profile_repo_dest }}/{{ xos_configuration }}/" |
Zack Williams | 72a9ab4 | 2016-06-08 08:32:49 -0700 | [diff] [blame] | 18 | with_items: |
| 19 | - common_cloudlab |
| 20 | - base |
Zack Williams | c563b57 | 2016-06-03 09:49:53 -0700 | [diff] [blame] | 21 | |
Zack Williams | d2cbe51 | 2016-06-03 09:33:15 -0700 | [diff] [blame] | 22 | - name: Initial build of XOS |
| 23 | command: make |
Scott Baker | 333a315 | 2016-06-29 08:58:42 -0700 | [diff] [blame] | 24 | chdir="{{ service_profile_repo_dest }}/{{ xos_configuration }}/" |
Zack Williams | d2cbe51 | 2016-06-03 09:33:15 -0700 | [diff] [blame] | 25 | |