standard: Add python3-libdnf5 for Ansible support
Ansible's package builtin [1] uses dnf's Python API. This fails by default with "Could not import the libdnf5 python module". This is awkward and laborious to work around in Containerfiles, as you can't use the normal `package:` to install, so it would require distribution/release specific code, and replicating this to all playbooks. In particular this fixes linux-system-roles for running during bootc container builds. [1] https://docs.ansible.com/ansible/latest/collections/ansible/builtin/package_module.html
This commit is contained in:
parent
999702dd81
commit
eb150e1f72
1 changed files with 2 additions and 0 deletions
|
|
@ -42,6 +42,8 @@ packages:
|
|||
- zram-generator
|
||||
# This one is in Python so isn't in FCOS, but we can safely add it here.
|
||||
- sos
|
||||
# Make Ansible "package" builtin work by default
|
||||
- python3-libdnf5
|
||||
|
||||
# These are random architecture-specific packages
|
||||
packages-x86_64:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue