salt.modules.twilio_notify

Module for notifications via Twilio

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.

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 范例:

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