Skip to content

When storing the api key in ansible vault and not creating a datadog_callback.yml you get an error that datadog_callback.yml is missing. #32

@cbitter78

Description

@cbitter78

If you provide the value for datadog_api_key in ansible vault and try to run using the call back it will error with a message much like this:

PLAY [localhost] ***********************************************************************************************************************************************************
Could not load configuration, invalid file: [some path]/plugins/callback/datadog_callback.yml

This is because on line 237 the api_key and url are loaded from the .yml file. If the file does not exist then it errors. Later on line 240 there is code to load the value from ansible vault.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions