nfs: to support copy_admin_key - containerized

pull/2518/head
vasishta p shastry 2018-04-10 18:07:11 +05:30 committed by Guillaume Abrioux
parent 01c58695fc
commit 6b59416f75
1 changed files with 14 additions and 1 deletions

View File

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