|
@@ -162,7 +162,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) {
|
|
|
withCredentials([sshUserPrivateKey(credentialsId: 'ansible', keyFileVariable: 'GIT_SSH_KEY', passphraseVariable: '', usernameVariable: 'GIT_SSH_USERNAME')]) {
|
|
|
sh """ansible-playbook ${PLAYBOOK} \
|
|
|
- -u ansible -e TARGET_DIR=${TARGET_DIR}' \
|
|
|
+ -u ansible -e TARGET_DIR=${TARGET_DIR} \
|
|
|
-e TARGET_HOST=${TARGET_HOST} -e DOMAIN=${DOMAIN} \
|
|
|
--ssh-common-args='-o StrictHostKeyChecking=no'
|
|
|
"""
|