|
@@ -95,11 +95,9 @@ pipeline {
|
|
echo "Update certificate and key for ${SMTP_SERVER}"
|
|
echo "Update certificate and key for ${SMTP_SERVER}"
|
|
sh "cat ${PKI_GIT_NAME}/${DOMAIN}/wildcard/acme-dns/letsencrypt.ca.pem >> ${CONFIG_DIR}/live/${DOMAIN}/fullchain.pem"
|
|
sh "cat ${PKI_GIT_NAME}/${DOMAIN}/wildcard/acme-dns/letsencrypt.ca.pem >> ${CONFIG_DIR}/live/${DOMAIN}/fullchain.pem"
|
|
PLAYBOOK = PKI_GIT_NAME + '/' + DOMAIN + '/wildcard/acme-dns/' + 'mail.yml'
|
|
PLAYBOOK = PKI_GIT_NAME + '/' + DOMAIN + '/wildcard/acme-dns/' + 'mail.yml'
|
|
-// ANSIBLE_CONFIG = PKI_GIT_NAME + '/' + DOMAIN + '/wildcard/acme-dns/' + 'ansible.cfg'
|
|
|
|
-// sh "cp -f ${ANSIBLE_CONFIG} ${WORKSPACE}"
|
|
|
|
TARGET_DIR = WORKSPACE + '/' + CONFIG_DIR
|
|
TARGET_DIR = WORKSPACE + '/' + CONFIG_DIR
|
|
- update_zimbra(PLAYBOOK, TARGET_DIR, SMTP_SERVER, DOMAIN)
|
|
|
|
-// update_sertificate(PLAYBOOK, TARGET_DIR, SMTP_SERVER, DOMAIN)
|
|
|
|
|
|
+// update_zimbra(PLAYBOOK, TARGET_DIR, SMTP_SERVER, DOMAIN)
|
|
|
|
+ update_sertificate(PLAYBOOK, TARGET_DIR, SMTP_SERVER, DOMAIN)
|
|
// }
|
|
// }
|
|
}
|
|
}
|
|
}
|
|
}
|