]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ceph-nfs: fixed with_items
authorBruceforce <markus.greis@gmx.de>
Sun, 12 May 2019 11:10:30 +0000 (13:10 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Mon, 13 May 2019 14:23:43 +0000 (16:23 +0200)
If we do this in one line we get the error described in #3968

fixes #3968

Signed-off-by: Bruceforce <markus.greis@gmx.de>
roles/ceph-nfs/tasks/pre_requisite_non_container.yml

index 5b5fb70560d09971de2f7d6202cb9b6590051925..f88f67ffd4a25d24be0288ed278a0db15c21c65a 100644 (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