mirror of https://github.com/ceph/ceph-ansible.git
ceph-nfs: fixed with_items
If we do this in one line we get the error described in #3968
fixes #3968
Signed-off-by: Bruceforce <markus.greis@gmx.de>
(cherry picked from commit c3b0ee30a1
)
pull/3981/head
parent
6814fd5ce5
commit
f34c1dcd9d
|
@ -51,7 +51,8 @@
|
|||
owner: "ceph"
|
||||
group: "ceph"
|
||||
mode: "0600"
|
||||
with_items: { name: "/var/lib/ceph/bootstrap-rgw/{{ cluster }}.keyring", copy_key: "{{ nfs_obj_gw }}" }
|
||||
with_items:
|
||||
- { name: "/var/lib/ceph/bootstrap-rgw/{{ cluster }}.keyring", copy_key: "{{ nfs_obj_gw }}" }
|
||||
when: item.copy_key|bool
|
||||
|
||||
- name: nfs object gateway related tasks
|
||||
|
|
Loading…
Reference in New Issue