Remove variable for driver 79/64279/3
authorManuel Buil <mbuil@suse.com>
Tue, 30 Oct 2018 20:20:50 +0000 (21:20 +0100)
committerManuel Buil <mbuil@suse.com>
Tue, 30 Oct 2018 21:27:27 +0000 (21:27 +0000)
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>
xci/playbooks/roles/create-nodes/tasks/barematalhoststojson.yml
xci/playbooks/roles/create-nodes/tasks/create_vm.yml

index e3eec9f..c067781 100644 (file)
@@ -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 }}"
index 7e1a745..1098987 100644 (file)
         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"