mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Package facts apt fix (#55963)
* fixes for apt on package_facts * reverse order, apt is newer * moved warnings prop to base
This commit is contained in:
@@ -18,6 +18,8 @@ def get_all_pkg_managers():
|
||||
|
||||
class PkgMgr(with_metaclass(ABCMeta, object)):
|
||||
|
||||
warnings = []
|
||||
|
||||
@abstractmethod
|
||||
def is_available(self):
|
||||
# This method is supposed to return True/False if the package manager is currently installed/usable
|
||||
|
||||
Reference in New Issue
Block a user