summaryrefslogtreecommitdiff
path: root/lib/ansible/cli/adhoc.py
diff options
context:
space:
mode:
authorflowerysong <paul.arthur@flowerysong.com>2020-02-25 17:00:09 -0500
committerGitHub <noreply@github.com>2020-02-25 17:00:08 -0500
commit370f78873101909ddcd19787dfe51ae4ea90fd42 (patch)
treef5c1b1efc762c3c025c6bc778866db2e9b0462f2 /lib/ansible/cli/adhoc.py
parent4c016e64dd06154bceeecdf4de96190e6f2c6aef (diff)
downloadansible-370f78873101909ddcd19787dfe51ae4ea90fd42.tar.gz
adhoc: Load callbacks before sending v2_playbook_on_start (#67673)
Diffstat (limited to 'lib/ansible/cli/adhoc.py')
-rw-r--r--lib/ansible/cli/adhoc.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ansible/cli/adhoc.py b/lib/ansible/cli/adhoc.py
index 2f79e881ea..9d91b2934f 100644
--- a/lib/ansible/cli/adhoc.py
+++ b/lib/ansible/cli/adhoc.py
@@ -160,6 +160,7 @@ class AdHocCLI(CLI):
forks=context.CLIARGS['forks'],
)
+ self._tqm.load_callbacks()
self._tqm.send_callback('v2_playbook_on_start', playbook)
result = self._tqm.run(play)