mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
c3ffc49914
* 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. |
||
---|---|---|
.. | ||
ansible |