mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-28 11:10:21 -07:00
Regression tests for playbooks, logging the events they call via callbacks.
This commit is contained in:
parent
b15c8e9cb1
commit
5371a9e497
6 changed files with 259 additions and 13 deletions
|
@ -385,6 +385,12 @@ class Runner(object):
|
|||
and then run the async module wrapping the other module
|
||||
'''
|
||||
|
||||
# hack to make the 'shell' module keyword really be executed
|
||||
# by the command module
|
||||
if self.module_name == 'shell':
|
||||
self.module_name = 'command'
|
||||
self.module_args.append("#USE_SHELL")
|
||||
|
||||
async = self._transfer_module(conn, tmp, 'async_wrapper')
|
||||
module = self._transfer_module(conn, tmp, self.module_name)
|
||||
result = self._execute_module(conn, tmp, async, self.module_args,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue