Are you perhaps running ansible locally through sudo? # sudo ansible ....
I had this issue some time ago, and a patch wa accepted to look at the sudo user's home dir, nog the calling user, which solved that. I still get this for jobs that run from cron though (no sudo involved here), but didn' look at it further so far. recent ansible 1.5 devel, running on default -c ssh Serge On 26 January 2014 14:14, Ilya <[email protected]> wrote: > I get 2-4 "previous known host file not found" warning on each task > execution. > Like > TASK: [configure .bashrc for me] > ******************************************** > previous known host file not found > previous known host file not found > previous known host file not found > previous known host file not found > ok: [test1] > Naturally, ~/.ssh/known_hosts exists and is readable. > I think it happened at some point but for the life of me I can't find any > related configuration option. Just how do I fix it? > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- 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 [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
