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

Merge "Add the missing permission setting for external-ceph"

parents 9822bb53 c1ad9a95
No related branches found
No related tags found
No related merge requests found
...@@ -57,3 +57,15 @@ ...@@ -57,3 +57,15 @@
- cinder_services['cinder-backup'].enabled | bool - cinder_services['cinder-backup'].enabled | bool
notify: notify:
- Restart cinder-backup container - Restart cinder-backup container
- name: Ensuring config directory has correct owner and permission
become: true
file:
path: "{{ node_config_directory }}/{{ item }}"
recurse: yes
owner: "{{ config_owner_user }}"
group: "{{ config_owner_group }}"
when: inventory_hostname in groups[item]
with_items:
- "cinder-volume"
- "cinder-backup"
...@@ -36,3 +36,16 @@ ...@@ -36,3 +36,16 @@
- Restart gnocchi-api container - Restart gnocchi-api container
- Restart gnocchi-metricd container - Restart gnocchi-metricd container
- Restart gnocchi-statsd container - Restart gnocchi-statsd container
- name: Ensuring config directory has correct owner and permission
become: true
file:
path: "{{ node_config_directory }}/{{ item }}"
recurse: yes
owner: "{{ config_owner_user }}"
group: "{{ config_owner_group }}"
when: inventory_hostname in groups[item]
with_items:
- "gnocchi-api"
- "gnocchi-metricd"
- "gnocchi-statsd"
...@@ -28,3 +28,14 @@ ...@@ -28,3 +28,14 @@
- inventory_hostname in groups['manila-share'] - inventory_hostname in groups['manila-share']
notify: notify:
- Restart manila-share container - Restart manila-share container
- name: Ensuring config directory has correct owner and permission
become: true
file:
path: "{{ node_config_directory }}/{{ item }}"
recurse: yes
owner: "{{ config_owner_user }}"
group: "{{ config_owner_group }}"
when: inventory_hostname in groups[item]
with_items:
- "manila-share"
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