|
@@ -18,11 +18,10 @@
|
|
|
changed_when: false
|
|
|
delegate_to: "{{ first_master }}"
|
|
|
|
|
|
-
|
|
|
# TODO: this currently has a bug where hostnames are required
|
|
|
- name: Creating First Master Aggregator signer certs
|
|
|
command: >
|
|
|
- oc adm ca create-signer-cert
|
|
|
+ {{ hostvars[first_master].openshift.common.client_binary }} adm ca create-signer-cert
|
|
|
--cert=/etc/origin/master/front-proxy-ca.crt
|
|
|
--key=/etc/origin/master/front-proxy-ca.key
|
|
|
--serial=/etc/origin/master/ca.serial.txt
|
|
@@ -79,7 +78,7 @@
|
|
|
|
|
|
- name: Create first master api-client config for Aggregator
|
|
|
command: >
|
|
|
- oc adm create-api-client-config
|
|
|
+ {{ hostvars[first_master].openshift.common.client_binary }} adm create-api-client-config
|
|
|
--certificate-authority=/etc/origin/master/front-proxy-ca.crt
|
|
|
--signer-cert=/etc/origin/master/front-proxy-ca.crt
|
|
|
--signer-key=/etc/origin/master/front-proxy-ca.key
|