diff options
author | Jose A. Rivera <jarrpa@redhat.com> | 2017-05-31 10:36:41 -0500 |
---|---|---|
committer | Jose A. Rivera <jarrpa@redhat.com> | 2017-06-13 13:10:23 -0500 |
commit | 5e73aa7b07fefbb211c791f4b5b5f8d29af7860f (patch) | |
tree | 6d436e2ba8eba849163050b4dfe73b8aa0922912 /roles/openshift_storage_glusterfs/tasks/glusterfs_deploy.yml | |
parent | 06604bdd4de165c9ef97ad64f14374b18f9e2d13 (diff) | |
download | openshift-5e73aa7b07fefbb211c791f4b5b5f8d29af7860f.tar.gz openshift-5e73aa7b07fefbb211c791f4b5b5f8d29af7860f.tar.bz2 openshift-5e73aa7b07fefbb211c791f4b5b5f8d29af7860f.tar.xz openshift-5e73aa7b07fefbb211c791f4b5b5f8d29af7860f.zip |
GlusterFS: Minor corrections and cleanups
Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
Diffstat (limited to 'roles/openshift_storage_glusterfs/tasks/glusterfs_deploy.yml')
-rw-r--r-- | roles/openshift_storage_glusterfs/tasks/glusterfs_deploy.yml | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/roles/openshift_storage_glusterfs/tasks/glusterfs_deploy.yml b/roles/openshift_storage_glusterfs/tasks/glusterfs_deploy.yml index bd7987e30..d0458bf93 100644 --- a/roles/openshift_storage_glusterfs/tasks/glusterfs_deploy.yml +++ b/roles/openshift_storage_glusterfs/tasks/glusterfs_deploy.yml @@ -1,9 +1,5 @@ --- - assert: - that: "glusterfs_nodeselector.keys() | count == 1" - msg: Only one GlusterFS nodeselector key pair should be provided - -- assert: that: "glusterfs_nodes | count >= 3" msg: There must be at least three GlusterFS nodes specified @@ -17,7 +13,7 @@ - name: Unlabel any existing GlusterFS nodes oc_label: - name: "{{ item }}" + name: "{{ hostvars[item].openshift.common.hostname }}" kind: node state: absent labels: "{{ glusterfs_nodeselector | oo_dict_to_list_of_dict }}" |