CORD-1111 use prebuilt xosproject/xos image
Change-Id: Id689415b8919765284b12af6c4cfc977801876f4
diff --git a/roles/cord-profile/templates/xos.yaml.j2 b/roles/cord-profile/templates/xos.yaml.j2
index 626660c..b886d87 100644
--- a/roles/cord-profile/templates/xos.yaml.j2
+++ b/roles/cord-profile/templates/xos.yaml.j2
@@ -15,6 +15,7 @@
bootstrap_ui_port: {{ xos_bootstrap_ui_port }}
docker_project_name: {{ cord_profile | regex_replace('\W','') }}
db_container_name: {{ cord_profile | regex_replace('\W','') }}bs_xos_db_1
+ source_ui_image: {{ xos_docker_image }}
{% if use_redis %}
redis_container_name: {{ cord_profile | regex_replace('\W','') }}bs_xos_redis_1
{% endif %}
diff --git a/roles/xos-bootstrap/tasks/main.yml b/roles/xos-bootstrap/tasks/main.yml
index 9c503fa..d962165 100644
--- a/roles/xos-bootstrap/tasks/main.yml
+++ b/roles/xos-bootstrap/tasks/main.yml
@@ -6,16 +6,6 @@
name: "{{ item }}"
with_items: "{{ xos_docker_networks }}"
-# Customized version of xosproject/xos with local cert baked in
-# Used by the onboarding synchronizer, soon this will go away
-- name: Build xosproject/xos bootstrap image (temporary, for onboarding)
- docker_image:
- name: "xosproject/xos"
- path: "{{ cord_profile_dir }}"
- dockerfile: "Dockerfile.xos"
- pull: False
- force: True
-
- name: Start XOS bootstrap containers
docker_service:
project_name: "{{ cord_profile | regex_replace('\\W','') }}bs"