New in version 1.3.
parameter | required | default | choices | comments |
---|---|---|---|---|
aggregation_key |
no | An arbitrary string to use for aggregation. | ||
alert_type |
no | info |
|
Type of alert. |
api_key |
yes | Your DataDog API key. | ||
app_key (added in 2.2) |
yes | Your DataDog app key. | ||
date_happened |
no | now | POSIX timestamp of the event. Default value is now. | |
priority |
no | normal |
|
The priority of the event. |
tags |
no | Comma separated list of tags to apply to the event. | ||
text |
yes | The body of the event. | ||
title |
yes | The event title. | ||
validate_certs (added in 1.5.1) |
no | yes |
|
If no , SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. |
# Post an event with low priority - datadog_event: title: Testing from ansible text: Test priority: low api_key: 9775a026f1ca7d1c6c5af9d94d9595a4 app_key: j4JyCYfefWHhgFgiZUqRm63AXHNZQyPGBfJtAzmN # Post an event with several tags - datadog_event: title: Testing from ansible text: Test api_key: 9775a026f1ca7d1c6c5af9d94d9595a4 app_key: j4JyCYfefWHhgFgiZUqRm63AXHNZQyPGBfJtAzmN tags: 'aa,bb,#host:{{ inventory_hostname }}'
This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.
This module is community maintained without core committer oversight.
For more information on what this means please read Module Support
For help in developing on modules, should you be so inclined, please read Community Information & Contributing, Helping Testing PRs and Developing Modules.