Add host check disabling
This commit is contained in:
@@ -9,7 +9,7 @@ pipeline {
|
|||||||
script {
|
script {
|
||||||
echo "copying ansible folder to ansible server"
|
echo "copying ansible folder to ansible server"
|
||||||
sshagent(['ansible-server-key']) {
|
sshagent(['ansible-server-key']) {
|
||||||
sh "scp ansible/ansible.cfg ${ANSIBLE_SERVER}:/root"
|
sh "scp -o StrictHostKeyChecking=no ansible/ansible.cfg ${ANSIBLE_SERVER}:/root"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user