Browse Source

Add remove task for route

Dylan Murray 7 years ago
parent
commit
15e909bcd5
1 changed files with 7 additions and 0 deletions
  1. 7 0
      roles/ansible_service_broker/tasks/remove.yml

+ 7 - 0
roles/ansible_service_broker/tasks/remove.yml

@@ -70,6 +70,13 @@
     namespace: openshift-ansible-service-broker
     state: absent
 
+- name: remove route for dashboard-redirector service
+  oc_route:
+    name: dr-1337
+    namespace: openshift-ansible-service-broker
+    state: absent
+  when: ansible_service_broker_enable_dashboard_redirector
+
 - name: remove Ansible Service Broker deployment config
   oc_obj:
     name: asb