Add host check disabling

This commit is contained in:
Nana Janashia committed 2021-04-03 18:03:31 +02:00
1 parent 0e2f79cbcd
commit 610c123802
1 file changed
+1 -1
+1 -1
View File
@@ -9,7 +9,7 @@ pipeline {
script {
echo "copying ansible folder to ansible server"
sshagent(['ansible-server-key']) {
sh "scp ansible/ansible.cfg ${ANSIBLE_SERVER}:/root"
sh "scp -o StrictHostKeyChecking=no ansible/ansible.cfg ${ANSIBLE_SERVER}:/root"
}
}
}