Skip to content

Commit 8eaf77d

Browse files
committed
orahost: fix wrong permissions in filesystem | Create directories
1 parent ac8f778 commit 8eaf77d

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
bugfixes:
3+
- "orahost: fix wrong permissions in filesystem | Create directories (oravirt#424)"

roles/orahost/tasks/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -255,10 +255,10 @@
255255
- name: filesystem | Create directories
256256
ansible.builtin.file:
257257
path: "{{ item.1.mntp }}"
258+
owner: "{{ item.1.owner | default(oracle_user) }}"
259+
group: "{{ item.1.group | default(oracle_group) }}"
260+
mode: "{{ item.1.mode | default('0775') }}"
258261
state: directory
259-
owner: "{{ oracle_user }}"
260-
group: "{{ oracle_group }}"
261-
mode: "0775"
262262
with_subelements:
263263
- "{{ host_fs_layout }}"
264264
- filesystem

0 commit comments

Comments
 (0)