mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 08:13:08 +00:00
Merge pull request #5771 from bcoca/play_hosts2
added new play_hosts var
This commit is contained in:
@@ -356,6 +356,8 @@ class PlayBook(object):
|
||||
no_log=task.no_log,
|
||||
)
|
||||
|
||||
runner.module_vars.update({'play_hosts': hosts})
|
||||
|
||||
if task.async_seconds == 0:
|
||||
results = runner.run()
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user