From 8b64309051cdc02f96450efd602dbe765b78bcf0 Mon Sep 17 00:00:00 2001 From: Naoya Nakazawa Date: Wed, 27 Jul 2016 17:11:55 +0900 Subject: [PATCH] datadog_monitor add no_log secret key (#2525) --- lib/ansible/modules/extras/monitoring/datadog_monitor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/extras/monitoring/datadog_monitor.py b/lib/ansible/modules/extras/monitoring/datadog_monitor.py index 6a7a73b908..6003664fd2 100644 --- a/lib/ansible/modules/extras/monitoring/datadog_monitor.py +++ b/lib/ansible/modules/extras/monitoring/datadog_monitor.py @@ -143,8 +143,8 @@ datadog_monitor: def main(): module = AnsibleModule( argument_spec=dict( - api_key=dict(required=True), - app_key=dict(required=True), + api_key=dict(required=True, no_log=True), + app_key=dict(required=True, no_log=True), state=dict(required=True, choises=['present', 'absent', 'mute', 'unmute']), type=dict(required=False, choises=['metric alert', 'service check', 'event alert']), name=dict(required=True),