mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 11:51:26 -07:00
* Rebase of https://github.com/ansible/ansible-modules-extras/pull/708 708 was full of extraneous merge commits interwoven with commits to implement the feature. In the end the only way I could clean this up in reasonable time was to just take a regular diff between the PR and the base. This lost the history of intermediate commits but I've preserved attribution to @dayton967 via git's --author field. Although I preserved the logic of the PR, there were a few additional things that I cleaned up: * Fixed import of email.mime.multipart * Used the argspec to set port and timeout to integers instead of having ad hoc code inside of the module. * Used argspec's choices for secure instead of ad hoc code inside of the module. * Removed some unused variables * Made secure_state a python boolean instead of using 0 and 1 * Used secure with string comparisons instead of turning it into an integer code. This is much more readable. * Fixed catching of SMTPExceptions (SMTPException wasn't imported directly so it needed to use the smtplib namespace.) |
||
---|---|---|
.. | ||
__init__.py | ||
campfire.py | ||
flowdock.py | ||
grove.py | ||
hall.py | ||
hipchat.py | ||
irc.py | ||
jabber.py | ||
mail.py | ||
mqtt.py | ||
nexmo.py | ||
osx_say.py | ||
pushbullet.py | ||
pushover.py | ||
rocketchat.py | ||
sendgrid.py | ||
slack.py | ||
sns.py | ||
telegram.py | ||
twilio.py | ||
typetalk.py |