community.crypto/plugins/module_utils/openssh/backends
Felix Fontein addbd067c8
openssh_* modules: check return code on ssh(-keygen) invocations; fail if comment cannot be updated (#646)
* Check return code on ssh(-keygen) invocations.

* openssh_cert: only check for errors if certificate should be present and module is not in check mode.

* Handle rc check for _get_private_key().

* Add changelog fragment.

* Only pass -o for comment updating when necessary.

* Now fails if comment cannot be updated.

This was silently ignored in the past.

* Avoid failing operation.
2023-08-12 17:14:00 +02:00
..
common.py openssh_* modules: check return code on ssh(-keygen) invocations; fail if comment cannot be updated (#646) 2023-08-12 17:14:00 +02:00
keypair_backend.py openssh_* modules: check return code on ssh(-keygen) invocations; fail if comment cannot be updated (#646) 2023-08-12 17:14:00 +02:00