mirror of https://github.com/ceph/ceph-ansible.git
nfs: to support copy_admin_key - containerized
parent
01c58695fc
commit
6b59416f75
|
@ -1,8 +1,21 @@
|
|||
---
|
||||
- name: set config and keys paths
|
||||
- name: set_fact admin_keyring
|
||||
set_fact:
|
||||
admin_keyring:
|
||||
- "/etc/ceph/{{ cluster }}.client.admin.keyring"
|
||||
when:
|
||||
- copy_admin_key
|
||||
|
||||
- name: set_fact ceph_config_keys
|
||||
set_fact:
|
||||
ceph_config_keys:
|
||||
- /var/lib/ceph/bootstrap-rgw/{{ cluster }}.keyring
|
||||
|
||||
- name: merge ceph_config_keys and admin_keyring
|
||||
set_fact:
|
||||
ceph_config_keys: "{{ ceph_config_keys + admin_keyring }}"
|
||||
when:
|
||||
- copy_admin_key
|
||||
|
||||
- name: stat for config and keys
|
||||
local_action:
|
||||
|
|
Loading…
Reference in New Issue