openssh_keypair: Populate return values when keypair exists and check_mode=true (#230)

* Swapping statement order for check_mode to initialize return values

* Adding changelog fragment

* Updated changelog to reflect bugfix
This commit is contained in:
Ajpantuso
2021-05-12 10:10:08 -04:00
committed by GitHub
parent 3e7362200a
commit 80d64e7b64
3 changed files with 5 additions and 1 deletions

View File

@@ -0,0 +1,2 @@
bugfixes:
- openssh_keypair - fix ``check_mode`` to populate return values for existing keypairs (https://github.com/ansible-collections/community.crypto/issues/113, https://github.com/ansible-collections/community.crypto/pull/230).