From 327dd256fc0226672289d9a6cf8834eba3a68e71 Mon Sep 17 00:00:00 2001 From: Curtis Date: Tue, 23 Jul 2013 11:16:30 -0600 Subject: [PATCH] changed apikey and apiid to api_key and api_id and noted that it is boundary tags not ansible tags as per mpdehaan --- monitoring/boundary_meter | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/monitoring/boundary_meter b/monitoring/boundary_meter index 25b6073a16b..71ea2b548c4 100644 --- a/monitoring/boundary_meter +++ b/monitoring/boundary_meter @@ -61,16 +61,16 @@ options: required: true notes: - - This module does not yet support tags. + - This module does not yet support boundary tags. ''' EXAMPLES=''' - name: Create meter - boundary_meter: apiid=AAAAAA apikey=BBBBBB state=present name={{ inventory_hostname }}" + boundary_meter: apiid=AAAAAA api_key=BBBBBB state=present name={{ inventory_hostname }}" - name: Delete meter - boundary_meter: apiid=AAAAAA apikey=BBBBBB state=absent name={{ inventory_hostname }}" + boundary_meter: apiid=AAAAAA api_key=BBBBBB state=absent name={{ inventory_hostname }}" ''' @@ -252,8 +252,8 @@ def main(): state = module.params['state'] name= module.params['name'] - apikey = module.params['apikey'] - apiid = module.params['apiid'] + apikey = module.params['api_key'] + apiid = module.params['api_id'] if state == "present": (rc, result) = create_meter(module, name, apiid, apikey)