CORD-1083 move CordSubscriberRoot to rcord repo

Change-Id: Ib0ab69ac1756744e71772ca8433b4fb6909f5893
diff --git a/profile_manifests/rcord.yml b/profile_manifests/rcord.yml
index c7d7cf5..9e9bd64 100644
--- a/profile_manifests/rcord.yml
+++ b/profile_manifests/rcord.yml
@@ -111,6 +111,8 @@
   - name: monitoringservice_rsa.pub
     source_path: "~/.ssh/id_rsa.pub"
 
+profile_library: "rcord"
+
 # VM networks/bridges on head
 virt_nets:
   - name: mgmtbr
diff --git a/roles/xos-core-build/defaults/main.yml b/roles/xos-core-build/defaults/main.yml
index e4776dd..e6d6c26 100644
--- a/roles/xos-core-build/defaults/main.yml
+++ b/roles/xos-core-build/defaults/main.yml
@@ -9,4 +9,6 @@
 xos_libraries:
   - "ng-xos-lib"
 
+profile_library: ""
+
 xos_services: []
diff --git a/roles/xos-core-build/tasks/main.yml b/roles/xos-core-build/tasks/main.yml
index a96d419..bbd84d7 100644
--- a/roles/xos-core-build/tasks/main.yml
+++ b/roles/xos-core-build/tasks/main.yml
@@ -15,6 +15,12 @@
     recipes: "{{ recipes }} + [ '/opt/cord/orchestration/xos_libraries/{{ item }}/{{ item }}-onboard.yaml']"
   with_items: "{{ xos_libraries }}"
 
+- name: Add in the profile library
+  set_fact:
+    recipes: "{{ recipes }} + [ '/opt/cord/orchestration/profiles/{{ profile_library }}/xos/{{ profile_library }}-onboard.yaml']"
+  when:
+    profile_library != ""
+
 - name: Join the list of recipes
   set_fact:
     recipes_string: "{{ recipes | join(' ') }}"