[CORD-2527] Running the synchronizers in the local scenario

Change-Id: I5bc3f067c169531635872b062ed6bd962209ada6
diff --git a/roles/cord-profile/defaults/main.yml b/roles/cord-profile/defaults/main.yml
index c773663..3264ef6 100644
--- a/roles/cord-profile/defaults/main.yml
+++ b/roles/cord-profile/defaults/main.yml
@@ -30,8 +30,6 @@
 # For storing OpenStack images
 image_dir: /opt/images
 
-# used in xos.yaml.j2, if True, other synchronizer container will not be started
-frontend_only: False
 
 # Set to True if you want to copy the admin-openrc.sh openstack config file
 use_openstack: True
diff --git a/roles/cord-profile/templates/docker-compose.yml.j2 b/roles/cord-profile/templates/docker-compose.yml.j2
index 3d6fd43..73f6dee 100644
--- a/roles/cord-profile/templates/docker-compose.yml.j2
+++ b/roles/cord-profile/templates/docker-compose.yml.j2
@@ -329,7 +329,6 @@
       - registrator
 {% endfor %}
 
-{% if not frontend_only %}
 {% for svc in xos_services %}
 {% if svc.synchronizer is not defined or svc.synchronizer %}
   {{ svc.name }}-synchronizer:
@@ -345,6 +344,7 @@
 {% endif %}
     links:
       - consul:consul
+      - xos_core:xos-core
 {% if use_redis %}
       - xos_redis:redis
 {% endif %}
@@ -370,4 +370,3 @@
 
 {% endif %}
 {% endfor %}
-{% endif %}
diff --git a/roles/cord-profile/templates/xos_config_synchronizer.yaml.j2 b/roles/cord-profile/templates/xos_config_synchronizer.yaml.j2
index 89c3d8c..ddc1884 100644
--- a/roles/cord-profile/templates/xos_config_synchronizer.yaml.j2
+++ b/roles/cord-profile/templates/xos_config_synchronizer.yaml.j2
@@ -20,7 +20,8 @@
 # generated by cord-profile from xos_config_synchronizer.yaml.j2
 
 accessor:
-  endpoint: "xos-core.{{ site_suffix }}:50051"
+  {# endpoint: "xos-core.{{ site_suffix }}:50051" #}
+  endpoint: "xos-core:50051"
 
 logging:
   version: 1