summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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: