]> git-server-git.apps.pok.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:30 +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 7fb042e6685636d5e321a6c42592abd50b4a61e0..c4d9eb51ec9abf38d68a6a598520b93da01a0812 100644 (file)
@@ -6,7 +6,9 @@
       ceph_key:
         state: present
         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