Michal Arbet d0f2345d2e Add installation of dbus package
In kolla-ansible, we perform a precheck to see if the python library for
dbus exists, but we do not install it in the bootstrap. This patch
addresses this issue by adding the installation of the dbus python
library.

Change-Id: Idfd4ffd0f80a2f22098639f81be69c664198b6c8
Closes-Bug: #2021585
(cherry picked from commit 1fd93d145a498e1d68e707701e6b3879a6505a58)
2024-09-25 16:41:19 +00:00

35 lines
768 B
YAML

---
# Apt cache TTL in seconds.
apt_cache_valid_time: 3600
enable_multipathd: false
# Whether the nova_libvirt container is enabled.
enable_nova_libvirt_container: false
ubuntu_pkg_install:
- git
- iputils-ping
- "{% if enable_multipathd | bool %}sg3-utils-udev{% endif %}"
- tzdata
openeuler_pkg_install:
- python3-docker
- python3-dbus
redhat_pkg_install:
- git
- iputils
- sudo
ubuntu_pkg_removals:
- lxd
- lxc
- "{% if enable_nova_libvirt_container | bool %}libvirt-bin{% endif %}"
- open-iscsi
redhat_pkg_removals:
- "{% if enable_nova_libvirt_container | bool %}libvirt{% endif %}"
- "{% if enable_nova_libvirt_container | bool %}libvirt-daemon{% endif %}"
- "{% if enable_nova_libvirt_container | bool %}iscsi-initiator-utils{% endif %}"