Standalone configurable virt type

This change adds an option called standalone_libvirt_type to the
standalone role which will generate the libvirt type standalone
parameters for the deployment.

Change-Id: I3f71b4d38049692c7b2f9ff4cd785d177ba5fc27
This commit is contained in:
Alex Schultz
2018-10-01 09:16:16 -06:00
parent 48bc18b55f
commit d89affe007
4 changed files with 14 additions and 0 deletions

View File

@@ -26,8 +26,17 @@
tags:
- build
- name: Set Virtualization Type
hosts: undercloud
roles:
- set-libvirt-type
tags:
- standalone
- name: Deploy Standalone
hosts: undercloud
vars:
standalone_libvirt_type: "{{ virt_type|default('qemu') }}"
roles:
- standalone
tags:

View File

@@ -23,6 +23,8 @@ Role Variables
- standalone_role: <'Standalone.yaml'> -- The TripleO Heat Template role definition of the deployment
- standalone_libvirt_type: <'kvm'> -- The type of libvirt to run on the standalone (qemu|kvm)
Dependencies
------------

View File

@@ -12,3 +12,5 @@ standalone_deploy_log: standalone_deploy.log
# deployment role
standalone_role: Standalone.yaml
standalone_libvirt_type: kvm

View File

@@ -32,3 +32,4 @@ parameter_defaults:
StandaloneEnableRoutedNetworks: false
StandaloneHomeDir: {{ working_dir }}
StandaloneLocalMtu: 1500
NovaComputeLibvirtType: {{ standalone_libvirt_type }}