From: Bruceforce Date: Sun, 12 May 2019 11:10:30 +0000 (+0200) Subject: ceph-nfs: fixed with_items X-Git-Tag: v4.0.0rc7~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f34c1dcd9df850bca0af2a05d4ec464be1441fc2;p=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 (cherry picked from commit c3b0ee30a1d4d30f4775b149f65ed735a3c79c9a) --- diff --git a/roles/ceph-nfs/tasks/pre_requisite_non_container.yml b/roles/ceph-nfs/tasks/pre_requisite_non_container.yml index 5b5fb7056..f88f67ffd 100644 --- a/roles/ceph-nfs/tasks/pre_requisite_non_container.yml +++ b/roles/ceph-nfs/tasks/pre_requisite_non_container.yml @@ -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