Add the missing permission setting for external-ceph
when non-root (become), the permission changed is necessary, but some roles is missing, the patch to add it. Change-Id: I987becde489f4b509b32edc1deceabfa2d2e1b74
This commit is contained in:
parent
f7cdcb155d
commit
c1ad9a95ab
@ -57,3 +57,15 @@
|
||||
- cinder_services['cinder-backup'].enabled | bool
|
||||
notify:
|
||||
- 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 @@
|
||||
- Restart gnocchi-api container
|
||||
- Restart gnocchi-metricd 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 @@
|
||||
- inventory_hostname in groups['manila-share']
|
||||
notify:
|
||||
- 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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user