I am new to ansible . I crated this simple playbook to extract the log files of remote server
Hi Aditya,
Are the keys in the default location (for example, ~/.ssh/id_rsa) or do they have different names? If the keys are not using the default name, you’ll need to add “ansible_ssh_private_key_file=/path/to/key” for each host. If there is only a single private key file, you can set the option “private_key_file=/path/to/key” in your ansible.cfg file.
Please see the following documents for more details:
http://docs.ansible.com/intro_configuration.html#private-key-file
http://docs.ansible.com/intro_inventory.html#list-of-behavioral-inventory-parameters