You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 30, 2018. It is now read-only.
managing : ubuntu 12.04
management machine : OSX but it is not really applicable
Summary:
Add ssh host key fingerprint to known_hosts when using the ec2 module to initialise instances.
Steps To Reproduce:
When creating an instance in ec2 it would save a lot of time if the Ansible ec2 module could retrieve the ssh host key fingerprint from the console output using the ec2 api (ec2-get-console-output or boto) and then place it in my known_hosts.
I am using ami-f41a49a6 which is an ubuntu image. I am guessing this depends on cloud-init to provide the ssh host key fingerprint to the ec2 metadata service?
Expected Results:
The result would be being able to immediately use Ansible to provision a host without prompting to verify the ssh host key fingerprint (I know this can be disabled by I am concerned with the risk of man in the middle attacks) and then like.
Actual Results:
The ec2 module doesn't even seem to be aware of the ssh host key fingerprint.