mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
implemented for v2, missing --tree option for adhoc
This commit is contained in:
@@ -139,6 +139,10 @@ class AdHocCLI(CLI):
|
||||
else:
|
||||
cb = 'minimal'
|
||||
|
||||
if self.options.tree:
|
||||
C.DEFAULT_CALLBACK_WHITELIST.append('tree')
|
||||
C.TREE_DIR = self.options.tree
|
||||
|
||||
# now create a task queue manager to execute the play
|
||||
self._tqm = None
|
||||
try:
|
||||
@@ -168,4 +172,3 @@ class AdHocCLI(CLI):
|
||||
poller.wait(self.options.seconds, self.options.poll_interval)
|
||||
|
||||
return poller.results
|
||||
|
||||
|
||||
Reference in New Issue
Block a user