Tomishinets Vladimir 5 年之前
父节点
当前提交
b350bf3eae
共有 1 个文件被更改,包括 1 次插入3 次删除
  1. 1 3
      OFFICERenewalWildcardJenkinsfile

+ 1 - 3
OFFICERenewalWildcardJenkinsfile

@@ -148,13 +148,11 @@ def update_sertificate(String PLAYBOOK, String TARGET_DIR, String TARGET_HOST) {
           ansiblePlaybook(
             credentialsId: 'ansible',
             playbook: PLAYBOOK,
+            disableHostKeyChecking: true,
             extraVars: [
               target_dir: TARGET_DIR,
               TARGET_HOST: TARGET_HOST
             ],
-            extras: [
-              ansible_ssh_extra_args: '\'-o StrictHostKeyChecking=no\''
-            ],
             colorized: true)
         }
       }