0

I wrote a playbook to deploy my ssh keys across multiple instances. This my playbook, but I am experiencing some problems with it. I already created my ssh keys from my local instance. Please see below.

enter image description here

Have I done anything wrong?

[!This is when I executed the playbook2]2

enter image description here

This is my ansible version if it helps.

bash-4.2$ ansible --version ansible 2.9.15

3
  • 1
    Hi and welcome to DevOps. Pasting code, errors and output in images is a bad practice: it is usually barely readable, it impairs search engines ability to index the content, and it does not allow to copy paste the content for people trying to reproduce your problem and help you out. You should edit your question and paste this in code blocks. Meanwhile, what is unclear with the error message ? Does the file exists on your ansible controller ? Is it accessible by the user running the playbook ? – Zeitounator Dec 23 '20 at 14:00
  • Although you might have solved this issue by now, but still - where is the file located? is it available at /export/home/staff/kadutut/.ssh/id_rsa.pub? Can you check what ls /export/home/staff/kadutut/.ssh/id_rsa.pub returns? – oli Dec 26 '20 at 8:42
  • Also, as mentioned by @Zeitounator try to post error messages in textual format. – oli Dec 26 '20 at 8:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.