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
Bruceforce 2019-05-12 13:10:30 +02:00 committed by Dimitri Savineau
parent 6814fd5ce5
commit f34c1dcd9d
1 changed files with 2 additions and 1 deletions

View File

@ -51,7 +51,8 @@
owner: "ceph" owner: "ceph"
group: "ceph" group: "ceph"
mode: "0600" 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 when: item.copy_key|bool
- name: nfs object gateway related tasks - name: nfs object gateway related tasks