summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Mistewicz <a.mistewicz@samsung.com>2017-05-24 10:44:40 (GMT)
committerAleksander Mistewicz <a.mistewicz@samsung.com>2017-06-13 10:28:20 (GMT)
commit44d6fd314574e1441de286cdb0060ecb31778657 (patch)
treea2fc8e2b5ac533e156575ffd097be5899d12f17a
parent16fb7216128106a1ef9b24e96c8b1a218a2e699b (diff)
downloadhost-44d6fd314574e1441de286cdb0060ecb31778657.zip
host-44d6fd314574e1441de286cdb0060ecb31778657.tar.gz
host-44d6fd314574e1441de286cdb0060ecb31778657.tar.bz2
Add sdboot dependencyrefs/changes/86/133786/2
Relevant Change-Id: I3e9568e11fd35b76cdcdb70809131af9779d5205 Change-Id: I241e19bef2c5f91334870b046c7d55c54b2fbcbc
-rw-r--r--config/hosts/runner/roles/system/tasks/main.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/config/hosts/runner/roles/system/tasks/main.yml b/config/hosts/runner/roles/system/tasks/main.yml
index 7882574..fbdd824 100644
--- a/config/hosts/runner/roles/system/tasks/main.yml
+++ b/config/hosts/runner/roles/system/tasks/main.yml
@@ -48,3 +48,17 @@
- make link
- python setup.py install
when: avocadoclone.changed
+
+- name: Prepare sdboot directory
+ file:
+ path: /opt/sdboot
+ state: directory
+ owner: "{{ username }}"
+ group: "{{ username }}"
+
+- name: Clone sdboot repo
+ become: yes
+ become_user: "{{ username }}"
+ git:
+ repo: git://github.com/tizen-artik/sdboot
+ dest: /opt/sdboot