Dmitriy Rabotyagov 060a5beb70 Start using uWSGI role
Move service to use uWSGI role instead of iternal task for uwsgi
deployment. This aims to ease the maintenance of uWSGI and speedup
metal deployments as the same uwsgi environment will be used
across all services.

Depends-On: https://review.opendev.org/678200/
Depends-On: https://review.opendev.org/678055/
Change-Id: If5aeeefb93c8ba3c1368970de61ea1300218f637
2019-09-04 15:35:44 +03:00

98 lines
2.5 KiB
YAML

---
# Copyright 2014, Rackspace US, Inc.
# Copyright 2017, SUSE LINUX GmbH.
#
# 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-core
- iptables
- python3-openstackclient
nova_devel_distro_packages:
- libxml2-devel
- postgresql-devel
- python-httplib2
- systemd-devel
nova_service_distro_packages:
- openstack-nova-api
- openstack-nova-conductor
- openstack-nova-scheduler
- python-memcached
- python-novaclient
- python-PyMySQL
- python-systemd
nova_service_extra_distro_packages:
kvm:
- openstack-nova-compute
novnc:
- openstack-nova-novncproxy
spice: []
serialconsole:
- openstack-nova-serialproxy
nova_compute_barbican_distro_packages:
- cryptsetup
nova_compute_kvm_distro_packages:
- bridge-utils
- device-mapper
- dosfstools
- genisoimage
- open-iscsi
- kpartx
- libvirt-daemon-config-nwfilter
- libvirt-daemon-driver-qemu
- libvirt-daemon-driver-secret
- libvirt-daemon-driver-storage-core
- libvirt-daemon-driver-storage-disk
- libvirt-daemon-driver-storage-iscsi
- libvirt-daemon-driver-storage-logical
- libvirt-daemon-driver-storage-mpath
- libvirt-daemon-driver-storage-rbd
- libvirt-daemon-driver-storage-scsi
- netcat-openbsd
- qemu-kvm
- qemu-block-curl
- qemu-block-dmg
- qemu-block-iscsi
- qemu-block-rbd
- qemu-block-ssh
- qemu-ovmf-x86_64
- libvirt-python
- nfs-utils
- python-libguestfs
- qemu-tools
- sysfsutils
nova_compute_kvm_packages_to_symlink:
- "{{ (ansible_distribution_version is version ('42', '>=')) | ternary('libvirt-python', 'python2-libvirt-python') }}"
- "{{ (ansible_distribution_version is version ('42', '>=')) | ternary('python-libguestfs', 'python2-libguestfs') }}"
nova_compute_ksm_packages:
- qemu-ksm
nova_compute_oslomsg_amqp1_distro_packages:
- cyrus-sasl
- cyrus-sasl-plain
- cyrus-sasl-digestmd5