]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
crash: refact caps definition
authorGuillaume Abrioux <gabrioux@redhat.com>
Mon, 19 Oct 2020 14:57:53 +0000 (16:57 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Tue, 20 Oct 2020 07:09:14 +0000 (09:09 +0200)
there is no need to use `{{ }}` syntax here.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit a8bd947c7dbd62b8acb9ac4fc1a2aad08a06546f)

roles/ceph-crash/tasks/main.yml

index 4f814dbf8b13370db318a9e55a495aa93e1580cc..4bcb62274b789fd065ef091583506f014ccd47d7 100644 (file)
@@ -5,7 +5,9 @@
     - name: create client.crash keyring
       ceph_key:
         name: "client.crash"
-        caps: "{{ {'mon': 'allow profile crash', 'mgr': 'allow profile crash'} }}"
+        caps:
+          mon: 'allow profile crash'
+          mgr: 'allow profile crash'
         cluster: "{{ cluster }}"
         dest: "{{ ceph_conf_key_directory }}"
         import_key: True