summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-master/tasks
diff options
context:
space:
mode:
authorMichael Gugino <mgugino@redhat.com>2017-11-13 13:17:06 -0500
committerMichael Gugino <mgugino@redhat.com>2017-11-13 13:17:06 -0500
commit4a3033d39328449ae0f0abc711bd8ceec5fb9d5b (patch)
treef4c21d3377a01bc3c9d3ba39ba9b10ca1a6c1d0f /playbooks/common/openshift-master/tasks
parent7175c6f228f61b883d958c12ba5130f37a0615c4 (diff)
downloadopenshift-4a3033d39328449ae0f0abc711bd8ceec5fb9d5b.tar.gz
openshift-4a3033d39328449ae0f0abc711bd8ceec5fb9d5b.tar.bz2
openshift-4a3033d39328449ae0f0abc711bd8ceec5fb9d5b.tar.xz
openshift-4a3033d39328449ae0f0abc711bd8ceec5fb9d5b.zip
Fix extension script for catalog
Currently, playbook wire_aggregator places an empty plugin script for openshift master called openshift-ansible-catalog-console.js This file should not be empty if using template_service_broker. I have updated this file to include a boolean and the proper string. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1506502
Diffstat (limited to 'playbooks/common/openshift-master/tasks')
-rw-r--r--playbooks/common/openshift-master/tasks/wire_aggregator.yml18
1 files changed, 9 insertions, 9 deletions
diff --git a/playbooks/common/openshift-master/tasks/wire_aggregator.yml b/playbooks/common/openshift-master/tasks/wire_aggregator.yml
index df3ea27b4..0d23e9d61 100644
--- a/playbooks/common/openshift-master/tasks/wire_aggregator.yml
+++ b/playbooks/common/openshift-master/tasks/wire_aggregator.yml
@@ -136,9 +136,15 @@
when:
- not front_proxy_kubeconfig.stat.exists
-- name: copy tech preview extension file for service console UI
- copy:
- src: openshift-ansible-catalog-console.js
+- name: Delete temp directory
+ file:
+ name: "{{ certtemp.stdout }}"
+ state: absent
+ changed_when: False
+
+- name: Setup extension file for service console UI
+ template:
+ src: ../templates/openshift-ansible-catalog-console.js
dest: /etc/origin/master/openshift-ansible-catalog-console.js
- name: Update master config
@@ -212,9 +218,3 @@
changed_when: false
when:
- yedit_output.changed
-
-- name: Delete temp directory
- file:
- name: "{{ certtemp.stdout }}"
- state: absent
- changed_when: False