crash: refact caps definition

there is no need to use `{{ }}` syntax here.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit a8bd947c7d)
pull/5966/head
Guillaume Abrioux 2020-10-19 16:57:53 +02:00
parent e6b3186420
commit a6dac8c93d
1 changed files with 3 additions and 1 deletions

View File

@ -5,7 +5,9 @@
- name: create client.crash keyring - name: create client.crash keyring
ceph_key: ceph_key:
name: "client.crash" name: "client.crash"
caps: "{{ {'mon': 'allow profile crash', 'mgr': 'allow profile crash'} }}" caps:
mon: 'allow profile crash'
mgr: 'allow profile crash'
cluster: "{{ cluster }}" cluster: "{{ cluster }}"
dest: "{{ ceph_conf_key_directory }}" dest: "{{ ceph_conf_key_directory }}"
import_key: True import_key: True