community.general/lib/ansible/modules/packaging/os
Tim Rupp db6c2bac75 Add missing import of apt.debfile
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
2016-12-08 11:22:50 -05:00
..
__init__.py Some more module categorization. 2016-12-08 11:22:25 -05:00
apt.py Add missing import of apt.debfile 2016-12-08 11:22:50 -05:00
apt_key.py Some more module categorization. 2016-12-08 11:22:25 -05:00
apt_repository.py Some more module categorization. 2016-12-08 11:22:25 -05:00
apt_rpm.py Remove incorrect executable permissions. 2016-12-08 11:22:26 -05:00
redhat_subscription.py use state parameter in examples 2016-12-08 11:22:31 -05:00
rhn_channel.py rhn_channel using depriciated methods. swapped out with their replacements 2016-12-08 11:22:45 -05:00
rhn_register.py Some more module categorization. 2016-12-08 11:22:25 -05:00
rpm_key.py Some more module categorization. 2016-12-08 11:22:25 -05:00
yum.py Example added 2016-12-08 11:22:40 -05:00