|
@@ -20,12 +20,26 @@
|
|
|
when:
|
|
|
- openshift_management_storage_class == "nfs_external"
|
|
|
|
|
|
-- name: Failed NFS server detection
|
|
|
+- name: Failed External NFS server detection
|
|
|
assert:
|
|
|
that:
|
|
|
- openshift_management_nfs_server is defined
|
|
|
msg: |
|
|
|
- "Unable to detect an NFS server. The 'nfs_external'
|
|
|
- openshift_management_storage_class option requires that you set
|
|
|
- openshift_management_storage_nfs_external_hostname. NFS hosts detected
|
|
|
- for local nfs services: {{ groups['oo_nfs_to_config'] | join(', ') }}"
|
|
|
+ Unable to detect an NFS server. The 'nfs_external'
|
|
|
+ openshift_management_storage_class option requires that you
|
|
|
+ manually set openshift_management_storage_nfs_external_hostname
|
|
|
+ parameter.
|
|
|
+ when:
|
|
|
+ - openshift_management_storage_class == 'nfs_external'
|
|
|
+
|
|
|
+- name: Failed Local NFS server detection
|
|
|
+ assert:
|
|
|
+ that:
|
|
|
+ - openshift_management_nfs_server is defined
|
|
|
+ msg: |
|
|
|
+ Unable to detect an NFS server. The 'nfs'
|
|
|
+ openshift_management_storage_class option requires that you have
|
|
|
+ an 'nfs' inventory group or manually set the
|
|
|
+ openshift_management_storage_nfs_local_hostname parameter.
|
|
|
+ when:
|
|
|
+ - openshift_management_storage_class == 'nfs'
|