mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
db6c2bac75
In cases when the python-apt package is not installed, ansible will attempt to install it. After this attempt, it tries to import the needed apt modules, but forgets to import the apt.debfile module. The result is that playbooks that use the dpkg argument on a machine that does not initially have the python-apt package available will fail with the following error AttributeError: 'module' object has no attribute 'debfile' This patch adds the appropriate import to the apt module to ensure that necessary libraries are available in cases when the dpkg argument is being used on a system that does not initially have the python-apt package installed |
||
---|---|---|
.. | ||
ansible |