kolla-ansible/ansible/roles/manila/templates/manila-share.json.j2
Michal Nasiadka 1f929336e3 External Ceph: keys as variables
Introduce user modifiable variables instead of fixed-names
of Ceph keyring files for external Ceph functionality.

Change-Id: I1a33b3f9d6eca5babf53b91187461e43aef865ce
2020-01-22 18:16:38 +00:00

37 lines
1.2 KiB
Django/Jinja

{
"command": "manila-share --config-file /etc/manila/manila.conf",
"config_files": [
{
"source": "{{ container_config_directory }}/manila.conf",
"dest": "/etc/manila/manila.conf",
"owner": "manila",
"perm": "0600"
}{% if enable_manila_backend_cephfs_native | bool or enable_manila_backend_cephfs_nfs | bool %},
{
"source": "{{ container_config_directory }}/ceph.conf",
"dest": "/etc/ceph/ceph.conf",
"owner": "manila",
"perm": "0600"
},
{
"source": "{{ container_config_directory }}/{{ ceph_manila_keyring }}",
"dest": "/etc/ceph/{{ ceph_manila_keyring }}",
"owner": "manila",
"perm": "0600"
}{% endif %}{% if manila_policy_file is defined %},
{
"source": "{{ container_config_directory }}/{{ manila_policy_file }}",
"dest": "/etc/manila/{{ manila_policy_file }}",
"owner": "manila",
"perm": "0600"
}{% endif %}
],
"permissions": [
{
"path": "/var/log/kolla/manila",
"owner": "manila:manila",
"recurse": true
}
]
}