|
@@ -160,7 +160,7 @@ def update_sertificate(String PLAYBOOK, String TARGET_DIR, String TARGET_HOST, S
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-def update_zimbra(String PLAYBOOK, String TARGET_DIR, String TARGET_HOST, String DOMAIN) {
|
|
|
|
|
|
+def update_zimbra(String PLAYBOOK, String TARGET_DIR, String TARGET_HOST, String DOMAIN, String ANSIBLE_CONFIG) {
|
|
withCredentials([sshUserPrivateKey(credentialsId: 'ansible', keyFileVariable: 'GIT_SSH_KEY', passphraseVariable: '', usernameVariable: 'GIT_SSH_USERNAME')]) {
|
|
withCredentials([sshUserPrivateKey(credentialsId: 'ansible', keyFileVariable: 'GIT_SSH_KEY', passphraseVariable: '', usernameVariable: 'GIT_SSH_USERNAME')]) {
|
|
sh """export ANSIBLE_CONFIG=${ANSIBLE_CONFIG}
|
|
sh """export ANSIBLE_CONFIG=${ANSIBLE_CONFIG}
|
|
ansible-playbook --private-key ${GIT_SSH_KEY} ${PLAYBOOK} \
|
|
ansible-playbook --private-key ${GIT_SSH_KEY} ${PLAYBOOK} \
|