Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@
- name: Check if OS is supported
include_tasks: os-check.yml

- name: Fail if API key is missing
fail:
msg: "datadog_api_key is mandatory when using managed config"
when: datadog_api_key is not defined and datadog_manage_config

- name: Resolve datadog_tracked_checks later to defend against variable presidence issues arising from dynamically included null datadog_checks
include_tasks: sanitize-checks.yml

Expand Down