Skip to content

Commit af3b353

Browse files
authored
Merge pull request #96 from Rendanic/prhostfs
orahost: added options to host_fs_layout
2 parents 888788a + 4f021c4 commit af3b353

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

roles/orahost/tasks/main.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,12 @@
314314
tags: hostfs
315315

316316
- name: filesystem | Change permission on directories
317-
file: path={{ item.1.mntp }} state=directory owner={{ oracle_user }} group={{ oracle_group }} mode=775
317+
file:
318+
path: "{{ item.1.mntp }}"
319+
owner: "{{ item.1.owner | default(oracle_user) }}"
320+
group: "{{ item.1.group | default(oracle_group) }}"
321+
mode: "{{ item.1.mode | default('0775') }}"
322+
state: directory
318323
with_subelements:
319324
- "{{ host_fs_layout }}"
320325
- filesystem

0 commit comments

Comments
 (0)