1961929df6
Depends-On: I5bf14a668a9e8976a18aa28a5bbfe586690bbd31 Implements: blueprint manila-cephfs-backend Change-Id: I483be398d929429e35e460b5a7660b82f409b587
21 lines
673 B
YAML
21 lines
673 B
YAML
---
|
|
- name: Ensuring config directory exists
|
|
file:
|
|
path: "{{ node_config_directory }}/manila-share"
|
|
state: "directory"
|
|
|
|
- name: Copying over ceph.conf for manila
|
|
merge_configs:
|
|
sources:
|
|
- "{{ node_custom_config }}/manila/ceph.conf"
|
|
- "{{ node_custom_config }}/manila/manila-share/ceph.conf"
|
|
dest: "{{ node_config_directory }}/manila-share/ceph.conf"
|
|
|
|
- name: Copy over Ceph keyring files for manila
|
|
copy:
|
|
src: "{{ item }}"
|
|
dest: "{{ node_config_directory }}/manila-share/"
|
|
with_fileglob:
|
|
- "{{ node_custom_config }}/manila/ceph.client.manila.keyring"
|
|
- "{{ node_custom_config }}/manila/manila/ceph.client.manila.keyring"
|