[CORD-1474]
Use value of config_cord_profile_dir from config node, rather than head
node

Change-Id: I33c6029c52824921553316d25a4cb13227f68e61
diff --git a/roles/hostvars-defaults/tasks/main.yml b/roles/hostvars-defaults/tasks/main.yml
new file mode 100644
index 0000000..e16b593
--- /dev/null
+++ b/roles/hostvars-defaults/tasks/main.yml
@@ -0,0 +1,14 @@
+---
+# hostvars-defaults/tasks/main.yml
+# Sets default variables in multiple hosts to allow them to accessed on other
+# hosts via the hostvars['otherhost']['defaultvar']
+
+- name: List host group specific values of default variables
+  debug:
+    msg: "{{ item.key }}:{{ item.val }}"
+  with_items: "{{ hostvars_defaults_dict }}"
+
+- name: Set hostvars as facts to persist them
+  set_fact: {"{{ item.key }}":"{{ item.val }}"}
+  with_items: "{{ hostvars_defaults_dict }}"
+