|
|
|
@ -39,7 +39,7 @@ class ActionModule(ActionBase):
|
|
|
|
|
|
|
|
|
|
if module == 'auto':
|
|
|
|
|
facts = self._execute_module(module_name='setup', module_args=dict(filter='ansible_pkg_mgr'), task_vars=task_vars)
|
|
|
|
|
self._display.degug("Facts %s" % facts)
|
|
|
|
|
self._display.debug("Facts %s" % facts)
|
|
|
|
|
if not 'failed' in facts:
|
|
|
|
|
module = getattr(facts['ansible_facts'], 'ansible_pkg_mgr', 'auto')
|
|
|
|
|
|
|
|
|
|