nexmo - Send a SMS via nexmo

Author:Matt Martz

Synopsis

New in version 1.6.

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
            • yes
            • no
            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
              local_action:
                module: nexmo
                api_key: 640c8a53
                api_secret: 0ce239a6
                src: 12345678901
                dest:
                  - 10987654321
                  - 16789012345
                msg: "{{ inventory_hostname }} completed"

            Table Of Contents

            Previous topic

            mqtt - Publish a message on an MQTT topic for the IoT

            Next topic

            osx_say - Makes an OSX computer to speak.