From: Guillaume Abrioux Date: Mon, 19 Oct 2020 14:57:53 +0000 (+0200) Subject: crash: refact caps definition X-Git-Tag: v5.0.3~46 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=a6dac8c93d35a564a6710365112c4079a2efe1c8;p=ceph-ansible.git crash: refact caps definition there is no need to use `{{ }}` syntax here. Signed-off-by: Guillaume Abrioux (cherry picked from commit a8bd947c7dbd62b8acb9ac4fc1a2aad08a06546f) --- diff --git a/roles/ceph-crash/tasks/main.yml b/roles/ceph-crash/tasks/main.yml index 4f814dbf8..4bcb62274 100644 --- a/roles/ceph-crash/tasks/main.yml +++ b/roles/ceph-crash/tasks/main.yml @@ -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