aboutsummaryrefslogtreecommitdiffstats
path: root/util/docker-compose/roles/compass/tasks/main.yml
diff options
context:
space:
mode:
authorYifei Xue <xueyifei@huawei.com>2018-01-24 09:30:34 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-01-24 09:30:34 +0000
commitb23c2630a26cd5cf255e92ef67e84020b0d31fec (patch)
treec0dea4e1934a4df47f409c965179ac8ac4b2ecd0 /util/docker-compose/roles/compass/tasks/main.yml
parenta94f3e2a36e7aa1d9e28b53e18af2f6730d02e18 (diff)
parentec8cc0f7665b1fd1f34ae31a50c4fb1b67c342ea (diff)
Merge "docker-compose: support aarch64"
Diffstat (limited to 'util/docker-compose/roles/compass/tasks/main.yml')
-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('-', '_') }}"