From 2e0c2928e98a30901f9d38d0dbb94b6cf3ed7967 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Han?= Date: Fri, 22 Sep 2017 16:22:36 +0200 Subject: [PATCH] nfs: fix docker_exec_cmd_nfs default value MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit the default is not an array, default is empty. Signed-off-by: Sébastien Han --- roles/ceph-nfs/tasks/create_rgw_nfs_user.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/ceph-nfs/tasks/create_rgw_nfs_user.yml b/roles/ceph-nfs/tasks/create_rgw_nfs_user.yml index 05c7da5dc..9eb82832e 100644 --- a/roles/ceph-nfs/tasks/create_rgw_nfs_user.yml +++ b/roles/ceph-nfs/tasks/create_rgw_nfs_user.yml @@ -6,7 +6,7 @@ - containerized_deployment - name: create rgw nfs user - command: "{{ docker_exec_cmd_nfs | default([]) }} radosgw-admin --cluster {{ cluster }} user create --uid={{ ceph_nfs_rgw_user }} --display-name='RGW NFS User'" + command: "{{ docker_exec_cmd_nfs | default('') }} radosgw-admin --cluster {{ cluster }} user create --uid={{ ceph_nfs_rgw_user }} --display-name='RGW NFS User'" register: rgwuser delegate_to: "{{ groups[mon_group_name][0] }}" when: