mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 05:10:22 -07:00
ec2_key: fix fingerprint generation in tests (#32817)
This commit is contained in:
parent
e23928cb41
commit
f891e92581
2 changed files with 4 additions and 7 deletions
|
@ -33,7 +33,7 @@
|
|||
- prepare
|
||||
|
||||
- name: record fingerprint
|
||||
shell: ssh-keygen -lf {{sshkey.stdout}}.pub
|
||||
shell: openssl rsa -in {{sshkey.stdout}} -pubout -outform DER 2>/dev/null | openssl md5 -c
|
||||
register: fingerprint
|
||||
tags:
|
||||
- prepare
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue