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 |
Zack Williams | 3562456 | 2016-08-28 17:12:26 -0700 | [diff] [blame] | 5 | git: |
| 6 | repo: "{{ xos_repo_url }}" |
| 7 | dest: "{{ xos_repo_dest }}" |
| 8 | version: "{{ xos_repo_branch }}" |
Zack Williams | d2cbe51 | 2016-06-03 09:33:15 -0700 | [diff] [blame] | 9 | |
Scott Baker | 333a315 | 2016-06-29 08:58:42 -0700 | [diff] [blame] | 10 | - name: checkout service-profile repo |
Zack Williams | 3562456 | 2016-08-28 17:12:26 -0700 | [diff] [blame] | 11 | git: |
| 12 | repo: "{{ service_profile_repo_url }}" |
| 13 | dest: "{{ service_profile_repo_dest }}" |
| 14 | version: "{{ service_profile_repo_branch }}" |
Scott Baker | 333a315 | 2016-06-29 08:58:42 -0700 | [diff] [blame] | 15 | |
Zack Williams | c563b57 | 2016-06-03 09:49:53 -0700 | [diff] [blame] | 16 | - name: Rebuild XOS containers |
| 17 | when: xos_container_rebuild |
Zack Williams | 3562456 | 2016-08-28 17:12:26 -0700 | [diff] [blame] | 18 | make: |
| 19 | target: "{{ item }}" |
| 20 | chdir: "{{ service_profile_repo_dest }}/{{ xos_configuration }}/" |
Zack Williams | 72a9ab4 | 2016-06-08 08:32:49 -0700 | [diff] [blame] | 21 | with_items: |
| 22 | - common_cloudlab |
| 23 | - base |
Zack Williams | c563b57 | 2016-06-03 09:49:53 -0700 | [diff] [blame] | 24 | |
Zack Williams | d2cbe51 | 2016-06-03 09:33:15 -0700 | [diff] [blame] | 25 | - name: Initial build of XOS |
Zack Williams | 3562456 | 2016-08-28 17:12:26 -0700 | [diff] [blame] | 26 | make: |
| 27 | target: "{{ item }}" |
| 28 | chdir: "{{ service_profile_repo_dest }}/{{ xos_configuration }}/" |
Zack Williams | d2cbe51 | 2016-06-03 09:33:15 -0700 | [diff] [blame] | 29 | |