Browse Source

[openshift_ca] Reference client binary from openshift_ca_host.

Andrew Butcher 8 năm trước cách đây
mục cha
commit
e2ad5c450e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      roles/openshift_ca/tasks/main.yml

+ 1 - 1
roles/openshift_ca/tasks/main.yml

@@ -87,7 +87,7 @@
 # This should NOT replace the CA due to --overwrite=false when a CA already exists.
 - name: Create the master certificates if they do not already exist
   command: >
-    {{ openshift.common.client_binary }} adm create-master-certs
+    {{ hostvars[openshift_ca_host].openshift.common.client_binary }} adm create-master-certs
     {% for named_ca_certificate in openshift.master.named_certificates | default([]) | oo_collect('cafile') %}
     --certificate-authority {{ named_ca_certificate }}
     {% endfor %}