summaryrefslogtreecommitdiffstats
path: root/roles/openshift_ca
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2017-02-07 11:07:26 -0500
committerAndrew Butcher <abutcher@redhat.com>2017-02-07 11:07:26 -0500
commite2ad5c450ef23a7756ee21737c6fe92b0742c845 (patch)
treed3f5316841f82ff8ff4234015af045f25f9e1a9a /roles/openshift_ca
parentacdedc802b051252a93e40a5a19112674e338bd1 (diff)
downloadopenshift-e2ad5c450ef23a7756ee21737c6fe92b0742c845.tar.gz
openshift-e2ad5c450ef23a7756ee21737c6fe92b0742c845.tar.bz2
openshift-e2ad5c450ef23a7756ee21737c6fe92b0742c845.tar.xz
openshift-e2ad5c450ef23a7756ee21737c6fe92b0742c845.zip
[openshift_ca] Reference client binary from openshift_ca_host.
Diffstat (limited to 'roles/openshift_ca')
-rw-r--r--roles/openshift_ca/tasks/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_ca/tasks/main.yml b/roles/openshift_ca/tasks/main.yml
index 4efc77f11..ae3ad31c3 100644
--- a/roles/openshift_ca/tasks/main.yml
+++ b/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 %}