podman_sdk: Fix dbus-python installation in virtualenv
Change-Id: I9ab5f986c9d8c7a0447db2fe2562ea3c7827eaff
This commit is contained in:
parent
41137fab32
commit
26d26ddd5f
@ -1,6 +1,6 @@
|
||||
---
|
||||
# List of RPM/APT packages to install.
|
||||
podman_sdk_packages:
|
||||
podman_sdk_packages_default:
|
||||
- "python3-setuptools"
|
||||
- "python3-pip"
|
||||
- "{% if podman_sdk_python_externally_managed | default(false) and virtualenv is none %}python3-podman{% endif %}"
|
||||
@ -12,6 +12,22 @@ podman_sdk_pip_packages:
|
||||
- "podman>=4.7.0"
|
||||
- "dbus-python"
|
||||
|
||||
podman_sdk_packages_dbus_deps_redhat:
|
||||
- "gcc"
|
||||
- "python3-devel"
|
||||
- "dbus-glib-devel"
|
||||
- "dbus-daemon"
|
||||
podman_sdk_packages_dbus_deps_debian:
|
||||
- "build-essential"
|
||||
- "python3-dev"
|
||||
- "libdbus-glib-1-dev"
|
||||
|
||||
podman_sdk_packages: >-
|
||||
{{ podman_sdk_packages_default +
|
||||
(lookup('vars', 'podman_sdk_packages_dbus_deps_' ~ ansible_facts.os_family | lower)
|
||||
if virtualenv is not none else []) }}
|
||||
|
||||
|
||||
# APT cache TTL in seconds.
|
||||
apt_cache_valid_time: 3600
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user