summaryrefslogtreecommitdiffstats
path: root/roles/openshift_sanitize_inventory
diff options
context:
space:
mode:
authorRussell Teague <rteague@redhat.com>2018-01-24 13:13:11 -0500
committerRussell Teague <rteague@redhat.com>2018-01-24 13:13:11 -0500
commit10503140b3fb6a33565cf500ebf274d885ae2d18 (patch)
treeb218af2845a3c341b394b059993246b17518c280 /roles/openshift_sanitize_inventory
parent9a2bf772cc5a54bb3461ee1947f2885c69e95239 (diff)
downloadopenshift-10503140b3fb6a33565cf500ebf274d885ae2d18.tar.gz
openshift-10503140b3fb6a33565cf500ebf274d885ae2d18.tar.bz2
openshift-10503140b3fb6a33565cf500ebf274d885ae2d18.tar.xz
openshift-10503140b3fb6a33565cf500ebf274d885ae2d18.zip
[1537946] Correct conditional check for GlusterFS IPs
Diffstat (limited to 'roles/openshift_sanitize_inventory')
-rw-r--r--roles/openshift_sanitize_inventory/tasks/unsupported.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/roles/openshift_sanitize_inventory/tasks/unsupported.yml b/roles/openshift_sanitize_inventory/tasks/unsupported.yml
index 1c4984467..be0715ab5 100644
--- a/roles/openshift_sanitize_inventory/tasks/unsupported.yml
+++ b/roles/openshift_sanitize_inventory/tasks/unsupported.yml
@@ -45,7 +45,8 @@
- name: Ensure the hosted registry's GlusterFS storage is configured correctly
when:
- openshift_hosted_registry_storage_kind | default(none) in ['glusterfs']
- - openshift_hosted_registry_storage_glusterfs_ips is defined and openshift_hosted_registry_storage_glusterfs_ips != ''
+ - openshift_hosted_registry_storage_glusterfs_ips is defined
+ - openshift_hosted_registry_storage_glusterfs_ips != []
- "'glusterfs_registry' in groups | default([])"
fail:
msg: |-