ec2_key: fix fingerprint generation in tests (#32817)

This commit is contained in:
Prasad Katti
2017-11-13 20:40:55 -08:00
committed by Will Thames
parent e23928cb41
commit f891e92581
2 changed files with 4 additions and 7 deletions

View File

@@ -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