Tomishinets Vladimir 4 vuotta sitten
vanhempi
commit
31a1f90705
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      OFFICERenewalWildcardJenkinsfile

+ 1 - 1
OFFICERenewalWildcardJenkinsfile

@@ -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')]) {
         sh """export ANSIBLE_CONFIG=${ANSIBLE_CONFIG}
               ansible-playbook --private-key ${GIT_SSH_KEY} ${PLAYBOOK} \