diff --git a/roles/ceph-client/tasks/create_users_keys.yml b/roles/ceph-client/tasks/create_users_keys.yml index 91b1d8afd..ca7e49364 100644 --- a/roles/ceph-client/tasks/create_users_keys.yml +++ b/roles/ceph-client/tasks/create_users_keys.yml @@ -50,7 +50,7 @@ containerized: "{{ docker_exec_cmd | default('') }}" cluster: "{{ cluster }}" dest: "{{ ceph_conf_key_directory }}" - import_key: "{{ copy_admin_key }}" + import_key: "{{ condition_copy_admin_key }}" mode: "{{ item.mode|default(omit) }}" with_items: "{{ keys }}" delegate_to: "{{ delegated_node }}"