nexmo - Send a SMS via nexmo
New in version 1.6.
Synopsis
- Send a SMS message via nexmo
Options
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. |
Examples
- 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
Status
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–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.4/nexmo_module.html