New in version 1.6.
parameter | required | default | choices | comments |
---|---|---|---|---|
api_key |
yes |
Nexmo API Key
|
||
api_secret |
yes |
Nexmo API Secret
|
||
dest |
yes |
Phone number(s) to send SMS message to
|
||
msg |
yes |
Message to text to send. Messages longer than 160 characters will be split into multiple messages
|
||
src |
yes |
Nexmo Number to send from
|
||
validate_certs |
no | yes |
|
If
no , SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. |
- name: Send notification message via Nexmo nexmo: api_key: 640c8a53 api_secret: 0ce239a6 src: 12345678901 dest: - 10987654321 - 16789012345 msg: '{{ inventory_hostname }} completed' delegate_to: localhost
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.