summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node_certificates
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2016-10-19 13:55:01 -0400
committerGitHub <noreply@github.com>2016-10-19 13:55:01 -0400
commit7025459e3e4f02494e8b005623af52ca738317b4 (patch)
treeafa9662170d4bbf216fbd124d638eea825433489 /roles/openshift_node_certificates
parent3be15dae0b039e06e31b4eecc933851ada7446cb (diff)
parent3ea0166aa301990d4f95fdb1c48557e710aa0b05 (diff)
downloadopenshift-7025459e3e4f02494e8b005623af52ca738317b4.tar.gz
openshift-7025459e3e4f02494e8b005623af52ca738317b4.tar.bz2
openshift-7025459e3e4f02494e8b005623af52ca738317b4.tar.xz
openshift-7025459e3e4f02494e8b005623af52ca738317b4.zip
Merge pull request #2621 from dgoodwin/symlink-fix
Switch from "oadm" to "oc adm" and fix bug in binary sync.
Diffstat (limited to 'roles/openshift_node_certificates')
-rw-r--r--roles/openshift_node_certificates/tasks/main.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/openshift_node_certificates/tasks/main.yml b/roles/openshift_node_certificates/tasks/main.yml
index 80ab4bb1d..69bcd3668 100644
--- a/roles/openshift_node_certificates/tasks/main.yml
+++ b/roles/openshift_node_certificates/tasks/main.yml
@@ -44,7 +44,7 @@
- name: Generate the node client config
command: >
- {{ openshift.common.admin_binary }} create-api-client-config
+ {{ openshift.common.client_binary }} adm create-api-client-config
{% for named_ca_certificate in hostvars[openshift_ca_host].openshift.master.named_certificates | default([]) | oo_collect('cafile') %}
--certificate-authority {{ named_ca_certificate }}
{% endfor %}
@@ -63,7 +63,7 @@
- name: Generate the node server certificate
command: >
- {{ openshift.common.admin_binary }} ca create-server-cert
+ {{ openshift.common.client_binary }} adm ca create-server-cert
--cert={{ openshift_node_generated_config_dir }}/server.crt
--key={{ openshift_generated_configs_dir }}/node-{{ openshift.common.hostname }}/server.key
--overwrite=true