ansible-datadog-callback icon indicating copy to clipboard operation
ansible-datadog-callback copied to clipboard

Enumerate loaded hosts and check for datadog_api_key in their vars

Open martinskis opened this issue 7 years ago • 0 comments

The datadog_api_key var is only checked if it is set for localhost. Which didn't really fit an inventory with multistage environment such as https://www.digitalocean.com/community/tutorials/how-to-manage-multistage-environments-with-ansible where we don't want to log dev runs.

I expected to be able to define it in group_vars, not sure if it's the right way, since it's a callback plugin that needs to be defined on the host that runs the playbook only.

martinskis avatar May 04 '18 16:05 martinskis