[CORD-2327] Using head_credentials_dir in the tosca engine
Change-Id: I698e228edcb03744aa5b09021fce307a6e2714ee
diff --git a/roles/xos-config-new-tosca/defaults/main.yml b/roles/xos-config-new-tosca/defaults/main.yml
index 8316fe7..e20eff8 100644
--- a/roles/xos-config-new-tosca/defaults/main.yml
+++ b/roles/xos-config-new-tosca/defaults/main.yml
@@ -17,12 +17,12 @@
xos_tosca_url: "http://xos-tosca/xos-tosca"
-credentials_dir: "{{ playbook_dir }}/credentials"
+head_credentials_dir: "/opt/credentials"
head_cord_profile_dir: "/opt/cord_profile"
xos_admin_user: "xosadmin@opencord.org"
-xos_admin_pass: "{{ lookup('password', credentials_dir ~ '/xosadmin@opencord.org chars=ascii_letters,digits') }}"
+xos_admin_pass: "{{ lookup('password', head_credentials_dir ~ '/xosadmin@opencord.org chars=ascii_letters,digits') }}"
xos_tosca_config_templates: []