From 0a917b39179273f8bfaea2e29f59b33a5d69802f Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Mon, 19 Oct 2020 16:57:53 +0200 Subject: [PATCH] crash: refact caps definition there is no need to use `{{ }}` syntax here. Signed-off-by: Guillaume Abrioux (cherry picked from commit a8bd947c7dbd62b8acb9ac4fc1a2aad08a06546f) --- roles/ceph-crash/tasks/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/roles/ceph-crash/tasks/main.yml b/roles/ceph-crash/tasks/main.yml index 7fb042e66..c4d9eb51e 100644 --- a/roles/ceph-crash/tasks/main.yml +++ b/roles/ceph-crash/tasks/main.yml @@ -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