summaryrefslogtreecommitdiffstats
path: root/xci/playbooks/roles/create-nodes/tasks/create_vm.yml
diff options
context:
space:
mode:
authorManuel Buil <mbuil@suse.com>2018-10-08 18:14:06 +0200
committerManuel Buil <mbuil@suse.com>2018-10-12 22:34:45 +0200
commit3c4f0f674393efc212434f8a3cb2820badeb0390 (patch)
treeb9590eb74b6f15d5fc8d8c5ef76685fa69b20de3 /xci/playbooks/roles/create-nodes/tasks/create_vm.yml
parentdd7fb5f6ac6dc11027f3d916deaa86504f489197 (diff)
Fix idf for k8s
deploy-scenario:k8-calico-nofeature installer-type:kubespray Change-Id: If1c9f5908f39f9c09efb86e27a3f3883b4cd75b9 Signed-off-by: Manuel Buil <mbuil@suse.com>
Diffstat (limited to 'xci/playbooks/roles/create-nodes/tasks/create_vm.yml')
-rw-r--r--xci/playbooks/roles/create-nodes/tasks/create_vm.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/xci/playbooks/roles/create-nodes/tasks/create_vm.yml b/xci/playbooks/roles/create-nodes/tasks/create_vm.yml
index df019c88..4afb71cf 100644
--- a/xci/playbooks/roles/create-nodes/tasks/create_vm.yml
+++ b/xci/playbooks/roles/create-nodes/tasks/create_vm.yml
@@ -102,6 +102,8 @@
PATH: "{{ lookup('env', 'XCI_VENV') }}/bin"
register: vbmc_list
+ - debug: var=vbmc_list
+
# NOTE(NobodyCam): Space at the end of the find clause is required for proper matching.
- name: delete vm from virtualbmc if it is there
command: vbmc delete {{ vm_name }}
@@ -122,6 +124,14 @@
environment:
PATH: "{{ lookup('env', 'XCI_VENV') }}/bin"
+ - name: get list of nodes from virtualbmc
+ command: vbmc list
+ environment:
+ PATH: "{{ lookup('env', 'XCI_VENV') }}/bin"
+ register: vbmc_list2
+
+ - debug: var=vbmc_list2
+
- name: get XML of the vm
virt:
name: "{{ vm_name }}"