Tomishinets Vladimir 5 年之前
父節點
當前提交
8e129b386d
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      OFFICERenewalWildcardJenkinsfile

+ 4 - 4
OFFICERenewalWildcardJenkinsfile

@@ -143,11 +143,11 @@ def update_sertificate(String PLAYBOOK, String TARGET_DIR, String TARGET_HOST) {
       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')]) {
         ansiColor('xterm') {
         ansiColor('xterm') {
           ansiblePlaybook(
           ansiblePlaybook(
-            credentialsId: ${GIT_SSH_KEY},
-            playbook: ${PLAYBOOK},
+            credentialsId: GIT_SSH_KEY,
+            playbook: PLAYBOOK,
             extraVars: [
             extraVars: [
-              target_dir: ${TARGET_DIR},
-              target_host: ${TARGET_HOST}
+              target_dir: TARGET_DIR,
+              target_host: TARGET_HOST
             ],
             ],
             colorized: true)
             colorized: true)
         }
         }