mirror of https://github.com/ceph/ceph-ansible.git
ceph-mgr: Fix reference to copy_admin_key variable
Enabling installation of the admin key to mgr nodes by setting
"copy_admin_key: true" is broken. This is because the variable is not
referenced correctly (using inline Jinja2 templating).
Signed-off-by: René Højbjerg Larsen <rhl@jfm.dk>
(cherry picked from commit 09590c0683
)
pull/7413/head
parent
23e05d372d
commit
8d6fdbebd6
|
@ -52,7 +52,7 @@
|
|||
- name: set_fact _mgr_keys
|
||||
set_fact:
|
||||
_mgr_keys:
|
||||
- { 'name': 'client.admin', 'path': "/etc/ceph/{{ cluster }}.client.admin.keyring", 'copy_key': copy_admin_key }
|
||||
- { 'name': 'client.admin', 'path': "/etc/ceph/{{ cluster }}.client.admin.keyring", 'copy_key': "{{ copy_admin_key }}" }
|
||||
- { 'name': "mgr.{{ ansible_facts['hostname'] }}", 'path': "/var/lib/ceph/mgr/{{ cluster }}-{{ ansible_facts['hostname'] }}/keyring", 'copy_key': true }
|
||||
|
||||
- name: get keys from monitors
|
||||
|
|
Loading…
Reference in New Issue