Przeglądaj źródła

[openshift_ca] Reference client binary from openshift_ca_host.

Andrew Butcher 8 lat temu
rodzic
commit
e2ad5c450e
1 zmienionych plików z 1 dodań i 1 usunięć
  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 %}