Dmitriy Rabotyagov a26ed9d5c4 Add libvirt-devel installation
libvirt-python package is required by masakari-monitors, however it
can't be build without libvirt-devel.
Afterwards we should replace it with symlink from distro.

Without libvirt-devel installation of masakari-monitors fails [1]

[1] http://paste.openstack.org/show/767655/

Change-Id: I366e754bbc32f07bfc3166c119fec7141bd2e904
2019-08-30 17:22:00 +00:00

34 lines
1.1 KiB
YAML

---
# Copyright (c) 2018 NTT DATA
#
# 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.
masakari_distro_packages:
- cronie
- cronie-anacron
- git-core
- rpcbind
- which
masakari_devel_distro_packages:
- libvirt-devel
- libxml2-devel
- systemd-devel
masakari_monitor_distro_packages:
- "{{ (ansible_distribution_version is version ('42', '>=')) | ternary('libvirt-python', 'python2-libvirt-python') }}"
- systemd-devel
masakari_monitor_packages_to_symlink:
- "{{ (ansible_distribution_version is version ('42', '>=')) | ternary('libvirt-python', 'python2-libvirt-python') }}"