Files
c05a843ef0f0e7d0b28abb292c05ef9b4080e4fa
openstack-ansible-os_nova /vars /redhat.yml

88 lines
2.7 KiB
YAML
Raw Normal View History

# 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:
nova_devel_distro_packages:
- libxml2-devel
nova_service_distro_packages:
- openstack-nova-api
- openstack-nova-conductor
- openstack-nova-scheduler
- "{{ ansible_distribution_major_version is version('8', '<') | ternary('python2-PyMySQL', 'python3-PyMySQL') }}"
- "{{ ansible_distribution_major_version is version('8', '<') | ternary('systemd-python', 'python3-systemd') }}"
nova_service_extra_distro_packages:
- openstack-nova-compute
- openstack-nova-migration
- openstack-nova-novncproxy
spice:
- openstack-nova-spicehtml5proxy
- openstack-nova-serialproxy
- dosfstools
- genisoimage
- kpartx
- "{{ ansible_distribution_major_version is version('8', '<') | ternary('python-libguestfs', 'python3-libguestfs') }}"
- cryptsetup
- libvirt-daemon-kvm
{% set packages = [] %}
{% if ansible_distribution_major_version|int > 7 %}
{% set _ = packages.extend(['python3-libvirt', 'python3-libguestfs']) %}
{% endif %}
{{packages }}
nova_compute_kvm_pip_packages:
- http://download.libguestfs.org/python/guestfs-1.40.2.tar.gz
- libvirt-python
nova_compute_ksm_packages:
- ksmtuned
nova_compute_oslomsg_amqp1_distro_packages:
- cyrus-sasl-plain
- cyrus-sasl-md5