aboutsummaryrefslogtreecommitdiffstats
path: root/util/docker-compose
diff options
context:
space:
mode:
authorYifei Xue <xueyifei@huawei.com>2018-02-05 10:56:58 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-02-05 10:56:58 +0000
commit8eb47e0ac350a4609f3b0573e5a8e3f38b7b44d2 (patch)
tree70e7c8f4ab76b0d4d3999597bf1ad44d83a784f5 /util/docker-compose
parentd5747030d62979b1178e6372907d7431012b7fd1 (diff)
parent4281121d0ce6240fa3928d2a2256fb621581b7ac (diff)
Merge "Seperate compass-tasks"
Diffstat (limited to 'util/docker-compose')
-rwxr-xr-xutil/docker-compose/roles/compass/tasks/main.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/util/docker-compose/roles/compass/tasks/main.yml b/util/docker-compose/roles/compass/tasks/main.yml
index c7dba96b..911a2844 100755
--- a/util/docker-compose/roles/compass/tasks/main.yml
+++ b/util/docker-compose/roles/compass/tasks/main.yml
@@ -19,7 +19,11 @@
{% for item in compass_images.results %}
{% if "ansible_facts" in item %}
{% set facts = item.ansible_facts %}
- {% set _ = image_dict.update({facts.image_name: facts.image_repo}) %}
+ {% set image_name = facts.image_name %}
+ {% if "compass_tasks" in image_name %}
+ {% set image_name = "compass_tasks" %}
+ {% endif %}
+ {% set _ = image_dict.update({image_name: facts.image_repo}) %}
{% endif %}
{% endfor %}
{% for key in image_dict %}