Browse Source

Change to service-signer.crt for template_service_broker CA_BUNDLE

staebler 7 years ago
parent
commit
dc89e0fa2b

+ 2 - 2
roles/template_service_broker/tasks/install.yml

@@ -6,7 +6,7 @@
     - "{{ openshift_deployment_type | default(deployment_type) }}.yml"
     - "default_images.yml"
 
-- name: set ansible_service_broker facts
+- name: set template_service_broker facts
   set_fact:
     template_service_broker_prefix: "{{ template_service_broker_prefix | default(__template_service_broker_prefix) }}"
     template_service_broker_version: "{{ template_service_broker_version | default(__template_service_broker_version) }}"
@@ -62,7 +62,7 @@
   when: openshift_master_config_dir is undefined
 
 - slurp:
-    src: "{{ openshift_master_config_dir }}/ca.crt"
+    src: "{{ openshift_master_config_dir }}/service-signer.crt"
   register: __ca_bundle
 
 # Register with broker

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

@@ -2,7 +2,7 @@
 # do any asserts here
 
 - include: install.yml
-  when: not template_service_broker_remove | default(false) | bool
+  when: template_service_broker_install | default(false) | bool
 
 - include: remove.yml
   when: template_service_broker_remove | default(false) | bool