Knowledge-Graph-Hub / kg-covid-19

An instance of KG Hub to produce a knowledge graph for COVID-19 response.
https://github.com/Knowledge-Graph-Hub/kg-covid-19/wiki
BSD 3-Clause "New" or "Revised" License
78 stars 26 forks source link

Fix ansible ssh error when pushing Blazegraph journal to SPARQL endpoint #423

Closed justaddcoffee closed 3 years ago

justaddcoffee commented 3 years ago

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'
justaddcoffee commented 3 years ago

Closes #422