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:
@@ -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:
|
||||
|
@@ -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
|
||||
------------
|
||||
|
||||
|
@@ -12,3 +12,5 @@ standalone_deploy_log: standalone_deploy.log
|
||||
# deployment role
|
||||
standalone_role: Standalone.yaml
|
||||
|
||||
standalone_libvirt_type: kvm
|
||||
|
||||
|
@@ -32,3 +32,4 @@ parameter_defaults:
|
||||
StandaloneEnableRoutedNetworks: false
|
||||
StandaloneHomeDir: {{ working_dir }}
|
||||
StandaloneLocalMtu: 1500
|
||||
NovaComputeLibvirtType: {{ standalone_libvirt_type }}
|
||||
|
Reference in New Issue
Block a user