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>
pull/3979/head
Bruceforce 2019-05-12 13:10:30 +02:00 committed by Guillaume Abrioux
parent ea1f8f551c
commit c3b0ee30a1
1 changed files with 2 additions and 1 deletions

View File

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