Skip to content
Snippets Groups Projects
Commit f7cdcb15 authored by Zuul's avatar Zuul Committed by Gerrit Code Review
Browse files

Merge "Restart manila-share after changed in the external-ceph"

parents a9e5836c e800c1d7
No related branches found
No related tags found
No related merge requests found
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
file: file:
path: "{{ node_config_directory }}/manila-share" path: "{{ node_config_directory }}/manila-share"
state: "directory" state: "directory"
when:
- inventory_hostname in groups['manila-share']
- name: Copying over ceph.conf for manila - name: Copying over ceph.conf for manila
merge_configs: merge_configs:
...@@ -10,6 +12,10 @@ ...@@ -10,6 +12,10 @@
- "{{ node_custom_config }}/manila/ceph.conf" - "{{ node_custom_config }}/manila/ceph.conf"
- "{{ node_custom_config }}/manila/manila-share/ceph.conf" - "{{ node_custom_config }}/manila/manila-share/ceph.conf"
dest: "{{ node_config_directory }}/manila-share/ceph.conf" dest: "{{ node_config_directory }}/manila-share/ceph.conf"
when:
- inventory_hostname in groups['manila-share']
notify:
- Restart manila-share container
- name: Copy over Ceph keyring files for manila - name: Copy over Ceph keyring files for manila
copy: copy:
...@@ -18,3 +24,7 @@ ...@@ -18,3 +24,7 @@
with_fileglob: with_fileglob:
- "{{ node_custom_config }}/manila/ceph.client.manila.keyring" - "{{ node_custom_config }}/manila/ceph.client.manila.keyring"
- "{{ node_custom_config }}/manila/manila/ceph.client.manila.keyring" - "{{ node_custom_config }}/manila/manila/ceph.client.manila.keyring"
when:
- inventory_hostname in groups['manila-share']
notify:
- Restart manila-share container
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment