blob: 22a045a0c3fb3517844e33ee578a8a7214ce9466 [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
5 git: repo={{ xos_repo_url }}
6 dest={{ xos_repo_dest }}
7 version={{ xos_repo_branch }}
8
Scott Baker333a3152016-06-29 08:58:42 -07009- 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 Williamsc563b572016-06-03 09:49:53 -070014- name: Rebuild XOS containers
15 when: xos_container_rebuild
Zack Williams72a9ab42016-06-08 08:32:49 -070016 command: make {{ item }}
Scott Baker333a3152016-06-29 08:58:42 -070017 chdir="{{ service_profile_repo_dest }}/{{ xos_configuration }}/"
Zack Williams72a9ab42016-06-08 08:32:49 -070018 with_items:
19 - common_cloudlab
20 - base
Zack Williamsc563b572016-06-03 09:49:53 -070021
Zack Williamsd2cbe512016-06-03 09:33:15 -070022- name: Initial build of XOS
23 command: make
Scott Baker333a3152016-06-29 08:58:42 -070024 chdir="{{ service_profile_repo_dest }}/{{ xos_configuration }}/"
Zack Williamsd2cbe512016-06-03 09:33:15 -070025