- name: Configure SSH agent delegate_to: localhost shell: | ssh-add ~/.ssh/id_rsa
Thanks Neil Young schrieb am Freitag, 10. Dezember 2021 um 11:44:47 UTC+1: > Hi, > > I'm using the ssh-agent in order to make Ansible aware of my identity > during the setup. Unfortunately I mostly forget to run > > "ssh-add ~/.ssh/id_rsa" > > before starting lengthy installations, so at some point later for instance > a "git clone" fails because auf authentication problems. > > Is there a chance to run "ssh-add -l" locally before running the full > installation in order to see, if the ssh agent is properly configured? > > > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/9c05e9b5-ef15-48f4-b2c2-1eb20ba4d9e7n%40googlegroups.com.