summaryrefslogtreecommitdiffstats
path: root/xci/playbooks
diff options
context:
space:
mode:
authorManuel Buil <mbuil@suse.com>2018-05-04 23:11:35 +0200
committerMarkos Chandras <mchandras@suse.de>2018-06-28 20:03:00 +0100
commit3d4ac3786772ec23791183b4c54a9d6fd922752e (patch)
tree5754b70b800c6161a347f3847fe229c07f7f2029 /xci/playbooks
parentfd09da131991a99a886dd0c65969d30d81499511 (diff)
Use PDF to set up the XCI VMs
This patch is doing the first work item of the spec: https://github.com/opnfv/releng-xci/blob/master/docs/specs/infra_manager.rst It creates the required VMs by XCI to afterwards deploy the VIM. It does that by reading the pdf provided by the user. - It is currently assumed that the OS for the VM will be installed in the first disk of the node described by the pdf - It is assumed that the opnfv VM characteristics are not described in the pdf but in a similar document called opnfv_vm.yml - All references to csv from bifrost-create-vm-nodes were removed Change-Id: I46a85284e4ce7df21cbf66f66619b35f74251e68 Signed-off-by: Manuel Buil <mbuil@suse.com> Co-Authored-by: Markos Chandras <mchandras@suse.de>
Diffstat (limited to 'xci/playbooks')
-rw-r--r--xci/playbooks/roles/create-vm-nodes/defaults/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/xci/playbooks/roles/create-vm-nodes/defaults/main.yml b/xci/playbooks/roles/create-vm-nodes/defaults/main.yml
index 90ee6e5c..6ac266a5 100644
--- a/xci/playbooks/roles/create-vm-nodes/defaults/main.yml
+++ b/xci/playbooks/roles/create-vm-nodes/defaults/main.yml
@@ -6,7 +6,7 @@ baremetal_json_file: '/tmp/baremetal.json'
vm_nic: "virtio"
vm_groups: {}
vm_default_groups: "{{ lookup('env', 'DEFAULT_HOST_GROUPS').split() | default(['baremetal'], true) }}"
-vm_disk_cache: "{{ lookup('env', 'VM_DISK_CACHE') | default('unsafe', true) }}"
+vm_disk_cache: unsafe
node_names: "{{ lookup('env', 'NODE_NAMES').split() }}"
# NOTE(pas-ha) name and default are chosen to be the same