From c3b0ee30a1d4d30f4775b149f65ed735a3c79c9a Mon Sep 17 00:00:00 2001 From: Bruceforce Date: Sun, 12 May 2019 13:10:30 +0200 Subject: [PATCH] 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 --- roles/ceph-nfs/tasks/pre_requisite_non_container.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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