mirror of https://github.com/ceph/ceph-ansible.git
nfs: add run once to user creation
The create user call is idempotent but it's also blocking for some reasons. Signed-off-by: Sébastien Han <seb@redhat.com>pull/1953/head
parent
784cc73da0
commit
c751c2dc6b
|
@ -7,6 +7,7 @@
|
|||
|
||||
- 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'"
|
||||
run_once: true
|
||||
register: rgwuser
|
||||
changed_when: false
|
||||
delegate_to: "{{ groups[mon_group_name][0] }}"
|
||||
|
|
Loading…
Reference in New Issue