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>
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: