[CORD-1474]
Use value of config_cord_profile_dir from config node, rather than head
node
Change-Id: I33c6029c52824921553316d25a4cb13227f68e61
diff --git a/copy-profile-playbook.yml b/copy-profile-playbook.yml
index 761ed0c..154ba50 100644
--- a/copy-profile-playbook.yml
+++ b/copy-profile-playbook.yml
@@ -1,5 +1,5 @@
---
-# copy-profile-book.yml
+# copy-profile-playbook.yml
# Copies the profile to the head node
- name: Include vars
@@ -11,6 +11,11 @@
- "profile_manifests/{{ cord_profile }}.yml"
- profile_manifests/local_vars.yml
+- name: Set hostvars with defaults for each node
+ hosts: head, config
+ roles:
+ - hostvars-defaults
+
- name: Copy cord_profile to head node from config node
hosts: head
roles: