catapult – Send a sms / mms using the catapult bandwidth api¶
New in version 2.4.
Parameters¶
Notes¶
Note
- Will return changed even if the media url is wrong.
- Will return changed if the destination number is invalid.
Examples¶
- name: Send a mms to multiple users
  catapult:
    src: "+15035555555"
    dest:
      - "+12525089000"
      - "+12018994225"
    media: "http://example.com/foobar.jpg"
    msg: "Task is complete"
    user_id: "{{ user_id }}"
    api_token: "{{ api_token }}"
    api_secret: "{{ api_secret }}"
- name: Send a sms to a single user
  catapult:
    src: "+15035555555"
    dest: "+12018994225"
    msg: "Consider yourself notified"
    user_id: "{{ user_id }}"
    api_token: "{{ api_token }}"
    api_secret: "{{ api_secret }}"
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
| Key | Returned | Description | 
|---|---|---|
| changed 
                  boolean
                                       | always | Whether the api accepted the message. Sample: True | 
Status¶
- This module is not guaranteed to have a backwards compatible interface. [preview]
- This module is maintained by the Ansible Community. [community]
Authors¶
- Jonathan Mainguy (@Jmainguy)
Hint
If you notice any issues in this documentation, you can edit this document to improve it.
