Merge pull request #2089 from mscherer/fix_datadog

2 small fixes for datadog
reviewable/pr18780/r1
René Moser 9 years ago
commit 6049d03d3a

@ -90,12 +90,10 @@ datadog_event: title="Testing from ansible" text="Test!"
tags=aa,bb,#host:{{ inventory_hostname }} tags=aa,bb,#host:{{ inventory_hostname }}
''' '''
import socket
def main(): def main():
module = AnsibleModule( module = AnsibleModule(
argument_spec=dict( argument_spec=dict(
api_key=dict(required=True), api_key=dict(required=True, no_log=True),
title=dict(required=True), title=dict(required=True),
text=dict(required=True), text=dict(required=True),
date_happened=dict(required=False, default=None, type='int'), date_happened=dict(required=False, default=None, type='int'),

Loading…
Cancel
Save