0
"ansible-playbook provision.yml --key-file=/path/to/my/OVH-Ansible-user.ssh" 

is used to run my ansible-playbook. my ssh key which have a certain passphrase (I know I could generate a key without a passphrase but I'd rather not at the moment) is stopping ansible after a break task (more than 30 seconds pause) to ask me the passphrase again. I'd like to know if there is a way to give him the passphrase somewhere so it won't ask again or if there is any other way ?

Ayra
  • 328
  • 2
  • 12
  • 1
    Are you familiar with ssh agent? You can certainly add the key to your agent, which will prompt you only once, and then the underlying ssh connection(s) should use your agent as expected – mdaniel Oct 18 '18 at 05:56
  • Im' not familiar with ssh agent but it seems to be interesting and could resolve this ! Thanks in advance ;) – Ayra Oct 19 '18 at 08:18

0 Answers0