[CORD-2460]
Update and fix build documentation, fix variables with new TOSCA engine
Change-Id: I21b5e3aa2abda0111a72d1a994140ab2894296ce
diff --git a/roles/xos-config-new-tosca/tasks/main.yml b/roles/xos-config-new-tosca/tasks/main.yml
index 3fbbc0f..eba6c3f 100644
--- a/roles/xos-config-new-tosca/tasks/main.yml
+++ b/roles/xos-config-new-tosca/tasks/main.yml
@@ -21,7 +21,7 @@
method: POST
headers:
xos-username: "{{ xos_admin_user }}"
- xos-password: "{{ xos_admin_pass }}"
+ xos-password: "{{ head_xos_admin_pass }}"
body: "{{ lookup('file', head_cord_profile_dir + '/' + item ) }}"
status_code: 200
with_items:
@@ -36,7 +36,7 @@
method: POST
headers:
xos-username: "{{ xos_admin_user }}"
- xos-password: "{{ xos_admin_pass }}"
+ xos-password: "{{ head_xos_admin_pass }}"
body: "{{ lookup('file', head_cord_profile_dir + '/' + item ) }}"
status_code: 200
with_items:
@@ -50,7 +50,7 @@
method: POST
headers:
xos-username: "{{ xos_admin_user }}"
- xos-password: "{{ xos_admin_pass }}"
+ xos-password: "{{ head_xos_admin_pass }}"
body: "{{ lookup('file', head_cord_profile_dir + '/' + item ) }}"
status_code: 200
with_items: "{{ xos_new_tosca_config_templates }}"