New in version 1.3.
| parameter | required | default | choices | comments |
|---|---|---|---|---|
| apiid | yes | Organizations boundary API ID | ||
| apikey | yes | Organizations boundary API KEY | ||
| name | yes | meter name | ||
| state | no | True |
| Whether to create or remove the client from boundary |
| validate_certs (added in 1.5.1)
| no | yes |
| If no, SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. |
- name: Create meter
boundary_meter:
apiid: AAAAAA
apikey: BBBBBB
state: present
name: '{{ inventory_hostname }}'
- name: Delete meter
boundary_meter:
apiid: AAAAAA
apikey: BBBBBB
state: absent
name: '{{ inventory_hostname }}'
Note
This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.
For help in developing on modules, should you be so inclined, please read Community Information & Contributing, Testing Ansible and Developing Modules.
© 2012–2017 Michael DeHaan
© 2017 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/latest/boundary_meter_module.html