diff options
author | Vadim Rutkovsky <vrutkovs@redhat.com> | 2018-02-06 12:57:21 +0100 |
---|---|---|
committer | Vadim Rutkovsky <vrutkovs@redhat.com> | 2018-02-10 10:41:45 +0100 |
commit | cea68953a257477198ac262f3f9c8047e4f39498 (patch) | |
tree | e38888067594e8bfa068e3d1a3530a2e85816477 /roles/openshift_facts/defaults | |
parent | f18cfa7897d771cb973b9aa28a90bc3575b56f58 (diff) | |
download | openshift-cea68953a257477198ac262f3f9c8047e4f39498.tar.gz openshift-cea68953a257477198ac262f3f9c8047e4f39498.tar.bz2 openshift-cea68953a257477198ac262f3f9c8047e4f39498.tar.xz openshift-cea68953a257477198ac262f3f9c8047e4f39498.zip |
Verify that requested services have schedulable nodes matching the selectors
Signed-off-by: Vadim Rutkovsky <vrutkovs@redhat.com>
Diffstat (limited to 'roles/openshift_facts/defaults')
-rw-r--r-- | roles/openshift_facts/defaults/main.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/openshift_facts/defaults/main.yml b/roles/openshift_facts/defaults/main.yml index a223ffba6..3b381b1e4 100644 --- a/roles/openshift_facts/defaults/main.yml +++ b/roles/openshift_facts/defaults/main.yml @@ -104,3 +104,6 @@ openshift_service_type_dict: openshift-enterprise: atomic-openshift openshift_service_type: "{{ openshift_service_type_dict[openshift_deployment_type] }}" + +# Create a list of node labels (dict) for schedulable nodes +openshift_schedulable_node_labels: "{{ groups['oo_nodes_to_config'] | lib_utils_oo_get_node_labels(hostvars) }}" |