diff options
Diffstat (limited to 'lib/ansible/cli/adhoc.py')
-rw-r--r-- | lib/ansible/cli/adhoc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/cli/adhoc.py b/lib/ansible/cli/adhoc.py index 28868bc5bf..2090721d01 100644 --- a/lib/ansible/cli/adhoc.py +++ b/lib/ansible/cli/adhoc.py @@ -144,7 +144,7 @@ class AdHocCLI(CLI): run_tree = False if context.CLIARGS['tree']: - C.DEFAULT_CALLBACK_WHITELIST.append('tree') + C.CALLBACKS_ENABLED.append('tree') C.TREE_DIR = context.CLIARGS['tree'] run_tree = True |