Explorar el Código

Get Kuryr Services checks openshift_use_kuryr==true before starting

Emilio garcia hace 7 años
padre
commit
e81d937d78
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      roles/openshift_openstack/tasks/unprovision.yml

+ 2 - 0
roles/openshift_openstack/tasks/unprovision.yml

@@ -7,6 +7,8 @@
     all_namespaces: true
   register: svc_output
   ignore_errors: true
+  when:
+    - openshift_use_kuryr|default(false) == true
 
 - name: Delete kuryr LoadBalancers (cascading)
   os_lbaas_deletion: