nfs: fix docker_exec_cmd_nfs default value

the default is not an array, default is empty.

Signed-off-by: Sébastien Han <seb@redhat.com>
pull/1942/head
Sébastien Han 2017-09-22 16:22:36 +02:00
parent 134ddc82ad
commit 2e0c2928e9
1 changed files with 1 additions and 1 deletions

View File

@ -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: