File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 11CHANGELOG
22=========
33
4+ # 2.1.0 / 2017-12-26
5+ - [ FEATURE] Disable callback if required python packages aren't installed. See [ #28 ] [ ] (thanks to @dobber )
6+
47# 2.0.0 / 2017-12-12
58- [ FEATURE] Add support for getting api_key from hostvars and thus from vault. See [ #25 ] [ ]
69- [ BREAKING CHANGE] Drop support for ansible <2.0
Original file line number Diff line number Diff line change @@ -18,7 +18,9 @@ class CallbackModule(CallbackBase):
1818 def __init__ (self ):
1919 if not HAS_MODULES :
2020 self .disabled = True
21- print 'Datadog callback disabled.\n Make sure you call all required libraries.'
21+ print 'Datadog callback disabled.\n Make sure you call all required libraries: "datadog" and "yaml".'
22+ else :
23+ self .disabled = False
2224
2325 self ._playbook_name = None
2426 self ._start_time = time .time ()
You can’t perform that action at this time.
0 commit comments