From f8832bf30288fac158b748dba569455d7c7b3198 Mon Sep 17 00:00:00 2001 From: Fabio Alessandro Locati Date: Tue, 6 Dec 2016 22:17:17 +0000 Subject: [PATCH] Native YAML - monitoring/boundary_meter (#18791) * Native YAML - monitoring/boundary_meter * Fix apikey --- lib/ansible/modules/monitoring/boundary_meter.py | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/lib/ansible/modules/monitoring/boundary_meter.py b/lib/ansible/modules/monitoring/boundary_meter.py index ccbf014026..49b3d954bf 100644 --- a/lib/ansible/modules/monitoring/boundary_meter.py +++ b/lib/ansible/modules/monitoring/boundary_meter.py @@ -72,11 +72,18 @@ notes: EXAMPLES=''' - name: Create meter - boundary_meter: apiid=AAAAAA api_key=BBBBBB state=present name={{ inventory_hostname }}" + boundary_meter: + apiid: AAAAAA + apikey: BBBBBB + state: present + name: '{{ inventory_hostname }}' - name: Delete meter - boundary_meter: apiid=AAAAAA api_key=BBBBBB state=absent name={{ inventory_hostname }}" - + boundary_meter: + apiid: AAAAAA + apikey: BBBBBB + state: absent + name: '{{ inventory_hostname }}' ''' import base64