1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

fixed call to setup module

This commit is contained in:
Brian Coca 2015-08-15 10:50:22 -04:00
parent 92e2f54228
commit 0381923333

View file

@ -38,7 +38,7 @@ class ActionModule(ActionBase):
pass # could not get it from template! pass # could not get it from template!
if module == 'auto': if module == 'auto':
module = self._execute_module(module_name=setup, module_args={filter: 'ansible_pkg_mgr'}, task_vars=task_vars) module = self._execute_module(module_name='setup', module_args={filter: 'ansible_pkg_mgr'}, task_vars=task_vars)
if module != 'auto': if module != 'auto':
# run the 'package' module # run the 'package' module