From 4108609cbd83f88e287ddca78e09cc06488c9c0f Mon Sep 17 00:00:00 2001 From: Manuel Buil Date: Thu, 22 Aug 2019 18:06:59 +0200 Subject: Fix bug for baremetal deployments OSH cannot be deployed because the name is currently a string instead of a variable that should be interpreted by ansible deploy-scenario:k8-calico-nofeature installer-type:osh Change-Id: Ib0ec71d181d62ee1830861427ca6d4f64625fb4e Signed-off-by: Manuel Buil --- xci/playbooks/roles/create-nodes/tasks/baremetalhoststojson.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'xci/playbooks') diff --git a/xci/playbooks/roles/create-nodes/tasks/baremetalhoststojson.yml b/xci/playbooks/roles/create-nodes/tasks/baremetalhoststojson.yml index 740bfac6..ef6ec345 100644 --- a/xci/playbooks/roles/create-nodes/tasks/baremetalhoststojson.yml +++ b/xci/playbooks/roles/create-nodes/tasks/baremetalhoststojson.yml @@ -29,15 +29,15 @@ block: - set_fact: - node_name: idf.kubespray.hostnames[item.name] + node_name: "{{ idf.kubespray.hostnames[item.name] }}" when: installer_type == "kubespray" - set_fact: - node_name: idf.osa.hostnames[item.name] + node_name: "{{ idf.osa.hostnames[item.name] }}" when: installer_type == "osa" - set_fact: - node_name: idf.osh.hostnames[item.name] + node_name: "{{ idf.osh.hostnames[item.name] }}" when: installer_type == "osh" - set_fact: -- cgit 1.2.3-korg