community.general/lib/ansible
Toshio Kuratomi a8af6c6baf Fix some SSL errors in mail.py causing SMTP Syntax Errors (Rebase of https://github.com/ansible/ansible-modules-extras/pull/708 ) (#19253)
* 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.)
2016-12-13 04:28:24 -08:00
..
cli Add --all option to ansible-doc. 2016-12-12 12:16:29 -08:00
compat Move py34 mock_open compat to compat/test/mock (#17157) 2016-08-19 18:11:24 -04:00
config
errors Add error info if tabs are found in the yaml (#18343) 2016-11-08 11:43:08 -05:00
executor unified boolean function 2016-11-29 12:34:30 -05:00
galaxy For container enabled role, display warning only when not ANSIBLE_CONTAINER (#18717) 2016-12-02 10:08:10 -05:00
inventory Properly sort groups by name as well as depth when getting vars 2016-11-18 22:57:52 -06:00
module_utils Fix overwrite parameter in module_utils.junos (#18671) 2016-12-12 15:57:29 -05:00
modules Fix some SSL errors in mail.py causing SMTP Syntax Errors (Rebase of https://github.com/ansible/ansible-modules-extras/pull/708 ) (#19253) 2016-12-13 04:28:24 -08:00
parsing Remove method that isn't used here. (#18713) 2016-12-02 00:30:41 -08:00
playbook smart quotes, die die die. 2016-12-05 14:15:43 -08:00
plugins Fix synchronize retries (#18535) 2016-12-12 13:33:30 -08:00
template always template when called from template (#18490) 2016-11-15 15:16:46 -05:00
utils Add --all option to ansible-doc. 2016-12-12 12:16:29 -08:00
vars ansible_playbook_python (#18530) 2016-11-23 16:30:46 -05:00
__init__.py Fix ziploader for the cornercase of ansible invoking ansible. 2016-04-29 08:47:49 -07:00
constants.py Remove remnants of obsolete fireball mode. 2016-12-09 16:56:34 -07:00
release.py Bumping devel version to 2.3.0 2016-10-03 11:46:31 -05:00
test-requirements.txt