diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2018-01-18 20:32:30 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-18 20:32:30 -0800 |
commit | 9959a35897132cc9f9ee8a95e7436095b1fc4493 (patch) | |
tree | 00e5646c7d4b55c0a9fbcd39e58e658a737a6929 /roles/template_service_broker | |
parent | 5f8cd00df722f635b8fabde4cd4ff40740f1b5d5 (diff) | |
parent | f220b2a490851351d9c1db15945f2687b62df795 (diff) | |
download | openshift-9959a35897132cc9f9ee8a95e7436095b1fc4493.tar.gz openshift-9959a35897132cc9f9ee8a95e7436095b1fc4493.tar.bz2 openshift-9959a35897132cc9f9ee8a95e7436095b1fc4493.tar.xz openshift-9959a35897132cc9f9ee8a95e7436095b1fc4493.zip |
Merge pull request #6785 from spadgett/tsb-redeploy-console
Automatic merge from submit-queue.
Rollout console after template service broker install
The console will discover if the broker is running, but only on startup.
Trigger a rollout so that the console sees the change.
/assign @sdodson
cc @jwforres @deads2k @bparees
Diffstat (limited to 'roles/template_service_broker')
-rw-r--r-- | roles/template_service_broker/tasks/install.yml | 6 | ||||
-rw-r--r-- | roles/template_service_broker/tasks/remove.yml | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/roles/template_service_broker/tasks/install.yml b/roles/template_service_broker/tasks/install.yml index 604e94602..82b211032 100644 --- a/roles/template_service_broker/tasks/install.yml +++ b/roles/template_service_broker/tasks/install.yml @@ -85,3 +85,9 @@ state: absent name: "{{ mktemp.stdout }}" changed_when: False + +- name: Rollout console so it discovers the template service broker is installed + include_role: + name: openshift_web_console + tasks_from: rollout_console.yml + when: openshift_web_console_install | default(true) | bool diff --git a/roles/template_service_broker/tasks/remove.yml b/roles/template_service_broker/tasks/remove.yml index db1b558e4..767e8ddc1 100644 --- a/roles/template_service_broker/tasks/remove.yml +++ b/roles/template_service_broker/tasks/remove.yml @@ -31,3 +31,9 @@ state: absent name: "{{ mktemp.stdout }}" changed_when: False + +- name: Rollout console so it discovers the template service broker is removed + include_role: + name: openshift_web_console + tasks_from: rollout_console.yml + when: openshift_web_console_install | default(true) | bool |