summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Buil <mbuil@suse.com>2018-10-30 21:20:50 +0100
committerManuel Buil <mbuil@suse.com>2018-10-30 21:27:27 +0000
commitc4e6a0fe956335ce3f7eaecdea0d2ecd09dc993a (patch)
treeb12d0f926ad1960cd06e4a8c46ab96350acf0bc6
parent4482548cccf779a0f25c61dee73de418a9afe4e5 (diff)
Remove variable for driver
Right now, we only support ipmi hosts (either virtual or physical) and that is why our json is always describing the ipmi parameters. It does not make sense that we have a variable which would allow to change that Change-Id: I7b88aca5930a73d68342e3d4cf21f9e96286c4d7 Signed-off-by: Manuel Buil <mbuil@suse.com>
-rw-r--r--xci/playbooks/roles/create-nodes/tasks/barematalhoststojson.yml2
-rw-r--r--xci/playbooks/roles/create-nodes/tasks/create_vm.yml2
2 files changed, 2 insertions, 2 deletions
diff --git a/xci/playbooks/roles/create-nodes/tasks/barematalhoststojson.yml b/xci/playbooks/roles/create-nodes/tasks/barematalhoststojson.yml
index e3eec9f0..c067781f 100644
--- a/xci/playbooks/roles/create-nodes/tasks/barematalhoststojson.yml
+++ b/xci/playbooks/roles/create-nodes/tasks/barematalhoststojson.yml
@@ -49,7 +49,7 @@
name: "{{ item.name }}"
uuid: "{{ item.name | to_uuid }}"
host_groups: "{{ host_group }}"
- driver: "{{ vm_node_driver|default('ipmi') }}"
+ driver: "ipmi"
driver_info:
power:
ipmi_address: "{{ item.remote_management.address }}"
diff --git a/xci/playbooks/roles/create-nodes/tasks/create_vm.yml b/xci/playbooks/roles/create-nodes/tasks/create_vm.yml
index 7e1a745a..10989870 100644
--- a/xci/playbooks/roles/create-nodes/tasks/create_vm.yml
+++ b/xci/playbooks/roles/create-nodes/tasks/create_vm.yml
@@ -159,7 +159,7 @@
name: "{{ vm_name }}"
uuid: "{{ vm_name | to_uuid }}"
host_groups: "{{ vm_host_group }}"
- driver: "{{ vm_node_driver|default('ipmi') }}"
+ driver: "ipmi"
driver_info:
power:
ipmi_address: "192.168.122.1"