title: AWS + Ansible Automation
body: <p>I have 50 Ubuntu severs in AWS. Now I am planning to install Ngnix to the 50 servers using Ansible. For this case, I have created an Ansible Master server and playbook. But how can I connect to the destination servers, it is not possible to add SSH keys individually to these 50 servers, so I need to automate the task. I need to add <code>id_rsa_pub</code> from Ansible Master to <code>authorized_keys</code> on the destination servers. But as you now AWS server authentication id done by default using SSH Keys files. So how can I specify the key file for the initial authentication, that is <code>ssh_copy_id</code> section.</p>