DataDog / ansible-datadog-callback

Ansible callback to get stats & events directly into Datadog http://datadoghq.com
MIT License
93 stars 47 forks source link

Added loader argument for yaml.load #45

Closed brandonshough closed 5 years ago

brandonshough commented 5 years ago

I was seeing this in my Ansible plays: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.

Per https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load(input)-Deprecation I added the Loader argument.

brandonshough commented 5 years ago

@hush-hush

hush-hush commented 5 years ago

Thanks for this PR @brandonshough !