From: Manuel Buil Date: Tue, 30 Oct 2018 20:20:50 +0000 (+0100) Subject: Remove variable for driver X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F79%2F64279%2F3;p=releng-xci.git 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 --- 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"