summaryrefslogtreecommitdiffstats
path: root/xci/playbooks/roles/create-nodes/defaults/main.yml
diff options
context:
space:
mode:
authorManuel Buil <mbuil@suse.com>2018-10-30 15:37:39 +0100
committerManuel Buil <mbuil@suse.com>2018-10-31 08:36:32 +0100
commit348bb6a8cea2b12ceca8941fa46e8290b18f0a55 (patch)
treefc29f0bd9569c9d57136243b6da07de4d44b42ac /xci/playbooks/roles/create-nodes/defaults/main.yml
parentc4e6a0fe956335ce3f7eaecdea0d2ecd09dc993a (diff)
Bug fix: Fetch vm names from idf
Currently we were taking the names of the nodes to be generated from the NODE_NAMES variable whereas ansible was fetching the names from the dynamic_inventory.py which uses idf. This resulted in problems: when doing ha, ansible was provisioning a compute as a controller and vicebersa. This patch forces create_nodes role to fetch the name from idf and thus align with the naming schema of ansible deploy-scenario:k8-calico-nofeature installer-type:kubespray Change-Id: Id1473727405701fd9ed0cb2f1394ee8676cec337 Signed-off-by: Manuel Buil <mbuil@suse.com>
Diffstat (limited to 'xci/playbooks/roles/create-nodes/defaults/main.yml')
-rw-r--r--xci/playbooks/roles/create-nodes/defaults/main.yml1
1 files changed, 0 insertions, 1 deletions
diff --git a/xci/playbooks/roles/create-nodes/defaults/main.yml b/xci/playbooks/roles/create-nodes/defaults/main.yml
index 02a429cf..889f9c10 100644
--- a/xci/playbooks/roles/create-nodes/defaults/main.yml
+++ b/xci/playbooks/roles/create-nodes/defaults/main.yml
@@ -5,7 +5,6 @@ baremetal_json_file: '/tmp/baremetal.json'
# We collect these parameters from the pdf
vm_nic: "virtio"
vm_disk_cache: unsafe
-node_names: "{{ lookup('env', 'NODE_NAMES').split() }}"
node_groups: {}
node_default_groups: "{{ lookup('env', 'DEFAULT_HOST_GROUPS').split() | default(['baremetal'], true) }}"