mirror of https://github.com/ceph/ceph-ansible.git
client: import the key in ceph is copy_admin_key is true
If the user has set copy_admin_key to true we assume he/she wants to import the key in Ceph and not only create the key on the filesystem. Signed-off-by: Sébastien Han <seb@redhat.com>pull/2537/head v3.1.0beta7
parent
424815501a
commit
6c742376fd
|
@ -40,6 +40,7 @@
|
|||
containerized: "{{ docker_exec_client_cmd | default('') }}"
|
||||
cluster: "{{ cluster }}"
|
||||
dest: "{{ ceph_conf_key_directory }}"
|
||||
import_key: "{{ copy_admin_key }}" # if the admin key is copied we assume the user wants to import the key in Ceph not only create it
|
||||
with_items: "{{ keys }}"
|
||||
run_once: true
|
||||
when:
|
||||
|
|
Loading…
Reference in New Issue