Long story short, ansible-playbook command fails because it doesn't have an entry in ~/.ssh/known_hosts for pan.lbl.gov (since this is running in Docker).
Fix is fairly simple - just do this before we run ansible:
sh 'mkdir -p ~/.ssh/'
sh 'ssh-keyscan -H pan.lbl.gov >> ~/.ssh/known_hosts'
Long story short,
ansible-playbook
command fails because it doesn't have an entry in~/.ssh/known_hosts
forpan.lbl.gov
(since this is running in Docker).Fix is fairly simple - just do this before we run ansible: