mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-08 01:14:03 -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.) |
||
---|---|---|
.. | ||
cloud | ||
clustering | ||
commands | ||
crypto | ||
database | ||
files | ||
identity | ||
infrastructure | ||
inventory | ||
messaging | ||
monitoring | ||
network | ||
notification | ||
packaging | ||
remote_management | ||
source_control | ||
storage | ||
system | ||
univention | ||
utilities | ||
web_infrastructure | ||
windows | ||
__init__.py |