summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Alessandro Locati <me@fale.io>2016-12-06 22:17:17 +0000
committerToshio Kuratomi <a.badger@gmail.com>2016-12-07 15:37:40 -0800
commit47e45530bd01241c59bdca4ebb3253050e7162b8 (patch)
treee74e5e3ecea316b4a83c0d3cdf1359439e503796
parentbdfc30a33ea8a59ed3e4f9e4cbb5d520830d925d (diff)
downloadansible-47e45530bd01241c59bdca4ebb3253050e7162b8.tar.gz
Native YAML - monitoring/boundary_meter (#18791)
* Native YAML - monitoring/boundary_meter * Fix apikey
-rw-r--r--lib/ansible/modules/monitoring/boundary_meter.py13
1 files 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