summaryrefslogtreecommitdiffstats
path: root/anslib/patches/openshift/template_broker-ds-badcheck.patch
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2018-03-11 20:02:50 +0100
committerSuren A. Chilingaryan <csa@suren.me>2018-03-11 20:02:50 +0100
commit0db2995395d28caf4676ab566085b7c66130b629 (patch)
treedcafcecefc3785388ecddae44f6f5f9a6aae251b /anslib/patches/openshift/template_broker-ds-badcheck.patch
parentf3c41dd13a0a86382b80d564e9de0d6b06fb1dbf (diff)
downloadands-0db2995395d28caf4676ab566085b7c66130b629.tar.gz
ands-0db2995395d28caf4676ab566085b7c66130b629.tar.bz2
ands-0db2995395d28caf4676ab566085b7c66130b629.tar.xz
ands-0db2995395d28caf4676ab566085b7c66130b629.zip
Add patches also for small modules
Diffstat (limited to 'anslib/patches/openshift/template_broker-ds-badcheck.patch')
-rw-r--r--anslib/patches/openshift/template_broker-ds-badcheck.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/anslib/patches/openshift/template_broker-ds-badcheck.patch b/anslib/patches/openshift/template_broker-ds-badcheck.patch
new file mode 100644
index 0000000..477ec66
--- /dev/null
+++ b/anslib/patches/openshift/template_broker-ds-badcheck.patch
@@ -0,0 +1,23 @@
+diff --git a/roles/template_service_broker/tasks/install.yml b/roles/template_service_broker/tasks/install.yml
+index d674d24..1eff3bc 100644
+--- a/roles/template_service_broker/tasks/install.yml
++++ b/roles/template_service_broker/tasks/install.yml
+@@ -1,11 +1,12 @@
+ ---
++#DS
+ # Fact setting
+-- name: Ensure that Template Service Broker has nodes to run on
+- fail:
+- msg: |-
+- No schedulable nodes found matching node selector for Template Service Broker - '{{ template_service_broker_selector }}'
+- when:
+- - openshift_schedulable_node_labels | lib_utils_oo_has_no_matching_selector(template_service_broker_selector)
++#- name: Ensure that Template Service Broker has nodes to run on
++# fail:
++# msg: |-
++# No schedulable nodes found matching node selector for Template Service Broker - '{{ template_service_broker_selector }}'
++# when:
++# - openshift_schedulable_node_labels | lib_utils_oo_has_no_matching_selector(template_service_broker_selector)
+
+ - name: Set default image variables based on openshift_deployment_type
+ include_vars: "{{ item }}"