community.general/lib/ansible/plugins
piotrsmolinski c3ffc49914 reset_connection fixes: #23621 (#25211)
* moved the logging statement

moved the logging statement before the actual action

* added status code check

In the existing implementation when the ssh command fails the command
result is silently discarded. It hides the fact that the disconnection
did not go as expected. Effectively the intended action was not
successful, but the play continues.

* Revert "added status code check"

This reverts commit fe2eb2ae4aeb4812fa2f59ccdfabc9efc677e657.

* added command status code check

In the existing implementation the command is checked for the success.
As a result failed execution is silently discarded. The change tests for
return code and fails if it did not work.
2017-05-31 13:40:57 -04:00
..
action Ensure exit_json returns failed = False 2017-05-30 14:56:31 -07:00
cache Be explicit about pickle protocol and encoding (#24454) 2017-05-12 18:04:48 -07:00
callback corrected object with columns 2017-05-31 13:03:10 -04:00
connection reset_connection fixes: #23621 (#25211) 2017-05-31 13:40:57 -04:00
filter Add a new filter: strftime. Use the well known function to format a date output. (#23832) 2017-04-21 11:48:45 -07:00
inventory removed debugging prints 2017-05-31 13:08:50 -04:00
lookup Transition inventory into plugins (#23001) 2017-05-23 17:16:49 -04:00
shell improve become_method: runas error handling (#23328) 2017-04-06 01:34:30 -07:00
strategy Transition inventory into plugins (#23001) 2017-05-23 17:16:49 -04:00
terminal plugins/terminal/: PEP8 compliancy (#25207) 2017-05-31 18:28:03 +01:00
test Migrate most uses of if type() to if isinstance() 2017-04-04 08:17:20 -07:00
vars Pepe Ate 2017-05-25 11:38:53 -04:00
__init__.py properlly report plugin name 2017-05-30 11:10:43 -04:00