summaryrefslogtreecommitdiffstats
path: root/util/docker-compose/roles/compass
diff options
context:
space:
mode:
authorYibo Cai <yibo.cai@arm.com>2017-12-22 18:04:42 +0800
committerYibo Cai <yibo.cai@arm.com>2018-01-14 11:27:41 +0000
commitec8cc0f7665b1fd1f34ae31a50c4fb1b67c342ea (patch)
tree9a6790c38ab667278ea7281f5fd125460647753e /util/docker-compose/roles/compass
parenta322fe981bb0fc11f2c83e3c887921ebf3af1dc3 (diff)
docker-compose: support aarch64
Change-Id: I4b1bce45f8412af7076dca90bbb4c1193057d110 Signed-off-by: Yibo Cai <yibo.cai@arm.com>
Diffstat (limited to 'util/docker-compose/roles/compass')
-rwxr-xr-xutil/docker-compose/roles/compass/tasks/main.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/util/docker-compose/roles/compass/tasks/main.yml b/util/docker-compose/roles/compass/tasks/main.yml
index 9ee7902e..c7dba96b 100755
--- a/util/docker-compose/roles/compass/tasks/main.yml
+++ b/util/docker-compose/roles/compass/tasks/main.yml
@@ -1,5 +1,8 @@
---
-- include_vars: "{{ compass_dists_dir }}/build.yaml"
+- include_vars: "{{ item }}"
+ with_first_found:
+ - "{{ compass_dists_dir }}/build-{{ ansible_architecture }}.yaml"
+ - "{{ compass_dists_dir }}/build.yaml"
- set_fact:
image_name: "{{ item.name | regex_replace('-', '_') }}"