changed apikey and apiid to api_key and api_id and noted that it is boundary tags not ansible tags as per mpdehaan
This commit is contained in:
parent
8e9d610b5a
commit
327dd256fc
1 changed files with 5 additions and 5 deletions
|
@ -61,16 +61,16 @@ options:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
notes:
|
notes:
|
||||||
- This module does not yet support tags.
|
- This module does not yet support boundary tags.
|
||||||
|
|
||||||
'''
|
'''
|
||||||
|
|
||||||
EXAMPLES='''
|
EXAMPLES='''
|
||||||
- name: Create meter
|
- 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
|
- 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']
|
state = module.params['state']
|
||||||
name= module.params['name']
|
name= module.params['name']
|
||||||
apikey = module.params['apikey']
|
apikey = module.params['api_key']
|
||||||
apiid = module.params['apiid']
|
apiid = module.params['api_id']
|
||||||
|
|
||||||
if state == "present":
|
if state == "present":
|
||||||
(rc, result) = create_meter(module, name, apiid, apikey)
|
(rc, result) = create_meter(module, name, apiid, apikey)
|
||||||
|
|
Loading…
Reference in a new issue