salt.modules.twilio_notify

Module for notifications via Twilio

New in version 2014.7.0.

depends
  • twilio python module

configuration

Configure this module by specifying the name of a configuration profile in the minion config, minion pillar, or master config (with pillar_opts set to True).

For example:

my-twilio-account:
    twilio.account_sid: AC32a3c83990934481addd5ce1659f04d2
    twilio.auth_token: mytoken
salt.modules.twilio_notify.send_sms(profile, body, to, from_)

Send an sms

CLI Example:

twilio.send_sms my-twilio-account 'Test sms' '+18019999999' '+18011111111'