This patch makes the distro package list compilation just a little easier to understand, and avoids the double evaluation of the variable. It also adds the spice distro package list which was missing. It also passes the package list directly to the package module instead of using a with_items loop and removes the nested inclusions for distro package installation. Finally, the async process for installing the packages is removed as it doesn't give much benefit in terms of speed and instead obscures the process a little. Change-Id: I910868db9780d9b56eabf5f059fe2f6d32719238
74 lines
1.7 KiB
YAML
74 lines
1.7 KiB
YAML
---
|
|
# Copyright 2014, Rackspace US, Inc.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
nova_qemu_user: qemu
|
|
nova_qemu_group: qemu
|
|
libvirt_group: libvirt
|
|
libvirt_service_name: libvirtd
|
|
|
|
# Common yum packages
|
|
nova_distro_packages:
|
|
- genisoimage
|
|
- git
|
|
- iptables
|
|
- postgresql-devel
|
|
- which
|
|
|
|
# Spice console yum packages
|
|
nova_spice_distro_packages:
|
|
- spice-html5
|
|
|
|
nova_novnc_distro_packages:
|
|
- js-jquery
|
|
- js-underscore
|
|
- librabbitmq
|
|
- libyaml
|
|
|
|
nova_compute_barbican_distro_packages:
|
|
- cryptsetup
|
|
|
|
nova_compute_kvm_distro_packages:
|
|
- bridge-utils
|
|
- device-mapper-multipath
|
|
- dosfstools
|
|
- genisoimage
|
|
- iscsi-initiator-utils
|
|
- kpartx
|
|
- libvirt-daemon-config-nwfilter
|
|
- libvirt-daemon-kvm
|
|
- libvirt-daemon-driver-qemu
|
|
- qemu-kvm-ev
|
|
- libvirt-devel
|
|
- libvirt-python
|
|
- nfs-utils
|
|
- openstack-selinux
|
|
- python-libguestfs
|
|
- qemu-img-ev
|
|
- sysfsutils
|
|
|
|
# TODO: add support for LXD on CentOS at some point.
|
|
nova_compute_lxd_distro_packages: []
|
|
|
|
# TODO: add support for PowerVM/NovaLink on CentOS at some point.
|
|
nova_compute_powervm_distro_packages: []
|
|
|
|
novalink_gpg_keys: []
|
|
|
|
nova_nginx_distro_packages:
|
|
- nginx
|
|
|
|
nova_nginx_conf_path: "conf.d"
|
|
nova_nginx_user_name: "nginx"
|