blob: 7008edbdbacebcd48b474f085571676e95fde60e [file] [log] [blame]
Zack Williamsfc102dd2016-03-01 17:31:30 -07001---
2# tasks for xos-install role
3
Zack Williamsd2cbe512016-06-03 09:33:15 -07004- name: checkout XOS repo
Zack Williams35624562016-08-28 17:12:26 -07005 git:
6 repo: "{{ xos_repo_url }}"
7 dest: "{{ xos_repo_dest }}"
8 version: "{{ xos_repo_branch }}"
Zack Williamsd2cbe512016-06-03 09:33:15 -07009
Scott Baker333a3152016-06-29 08:58:42 -070010- name: checkout service-profile repo
Zack Williams35624562016-08-28 17:12:26 -070011 git:
12 repo: "{{ service_profile_repo_url }}"
13 dest: "{{ service_profile_repo_dest }}"
14 version: "{{ service_profile_repo_branch }}"
Scott Baker333a3152016-06-29 08:58:42 -070015
Zack Williamsc563b572016-06-03 09:49:53 -070016- name: Rebuild XOS containers
17 when: xos_container_rebuild
Zack Williams35624562016-08-28 17:12:26 -070018 make:
19 target: "{{ item }}"
20 chdir: "{{ service_profile_repo_dest }}/{{ xos_configuration }}/"
Zack Williams72a9ab42016-06-08 08:32:49 -070021 with_items:
22 - common_cloudlab
23 - base
Zack Williamsc563b572016-06-03 09:49:53 -070024
Zack Williamsd2cbe512016-06-03 09:33:15 -070025- name: Initial build of XOS
Zack Williams35624562016-08-28 17:12:26 -070026 make:
27 target: "{{ item }}"
28 chdir: "{{ service_profile_repo_dest }}/{{ xos_configuration }}/"
Zack Williamsd2cbe512016-06-03 09:33:15 -070029