From 1e469477a8464345885b68df95c4ff263485d8ab Mon Sep 17 00:00:00 2001 From: Naoya Nakazawa Date: Wed, 27 Jul 2016 17:11:55 +0900 Subject: [PATCH] [monitor] datadog_monitor add no_log secret key (#2525) --- monitoring/datadog_monitor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/monitoring/datadog_monitor.py b/monitoring/datadog_monitor.py index 6a7a73b908e..6003664fd2d 100644 --- a/monitoring/datadog_monitor.py +++ b/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),