Skip to content

Commit

Permalink
Merge pull request #1849 from ceph/client-external
Browse files Browse the repository at this point in the history
client: do not copy admin key by default
  • Loading branch information
leseb authored Sep 1, 2017
2 parents 5b3ba28 + 23a0c26 commit 7e954f5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion group_vars/clients.yml.sample
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dummy:
# GENERAL #
###########

#fetch_directory: fetch/
#copy_admin_key: false

#user_config: false
#pools:
Expand Down
2 changes: 1 addition & 1 deletion roles/ceph-client/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# GENERAL #
###########

fetch_directory: fetch/
copy_admin_key: false

user_config: false
pools:
Expand Down
4 changes: 3 additions & 1 deletion roles/ceph-client/tasks/pre_requisite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
owner: "ceph"
group: "ceph"
mode: "0600"
when: cephx
when:
- cephx
- copy_admin_key

- name: check if global key exists in ceph_conf_overrides
set_fact:
Expand Down

0 comments on commit 7e954f5

Please sign in to comment.