From 64824baa83cbcf6a13e0f917421b2f3ea2c80e2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Han?= Date: Fri, 22 Sep 2017 15:37:43 +0200 Subject: [PATCH] nfs: fix undefined variable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is what happens when you don't run all the jobs from the CI... 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 3c24fecf6..05c7da5dc 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 }} 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: