summaryrefslogtreecommitdiffstats
path: root/xci/playbooks
diff options
context:
space:
mode:
authorManuel Buil <mbuil@suse.com>2019-08-22 18:06:59 +0200
committerManuel Buil <mbuil@suse.com>2019-08-22 18:08:35 +0200
commit4108609cbd83f88e287ddca78e09cc06488c9c0f (patch)
treecf9843d6ec15db4b618cf5de10fbbf6d7c143c79 /xci/playbooks
parent6f177f316999170ec7e1c85605bf48560282edd5 (diff)
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 <mbuil@suse.com>
Diffstat (limited to 'xci/playbooks')
-rw-r--r--xci/playbooks/roles/create-nodes/tasks/baremetalhoststojson.yml6
1 files changed, 3 insertions, 3 deletions
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: