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!
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':
# run the 'package' module