Tomishinets Vladimir il y a 5 ans
Parent
commit
b350bf3eae
1 fichiers modifiés avec 1 ajouts et 3 suppressions
  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)
         }
       }