Files
openstack-ansible-os_masakari/vars/redhat.yml
T
Dmitriy Rabotyagov 9a80d520bd Add CentOS 8 support
Change-Id: I5b5db9f15b4d6efd139e25e03f47856875b907b6
2020-08-04 10:14:22 +00:00

36 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:
- git
- rpcbind
- which
masakari_devel_distro_packages:
- libvirt-devel
- libxml2-devel
- systemd-devel
masakari_monitor_distro_packages:
- "{{ (ansible_distribution_major_version|int <= 7) | ternary('libvirt-devel', 'python3-libvirt') }}"
- systemd-devel
masakari_monitor_packages_to_symlink: |-
{% set packages = [] %}
{% if ansible_distribution_major_version|int > 7 %}
{% set _ = packages.extend(['python3-libvirt']) %}
{% endif %}
{{ packages }}