Skip to content

Commit d20b629

Browse files
author
satken2
committed
Add umask option for mount module
1 parent fb57b54 commit d20b629

File tree

1 file changed

+6
-6
lines changed
  • tests/integration/targets/mount/tasks

1 file changed

+6
-6
lines changed

tests/integration/targets/mount/tasks/main.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -338,10 +338,10 @@
338338
- name: Create empty file
339339
community.general.filesize:
340340
path: /tmp/myfs2.img
341-
size: 1M
341+
size: 20M
342342
- name: Format FS
343343
community.general.filesystem:
344-
fstype: xfs
344+
fstype: ext2
345345
dev: /tmp/myfs2.img
346346
- name: Make sure that mount point does not exist
347347
file:
@@ -351,7 +351,7 @@
351351
mount:
352352
path: /tmp/myfs2_mountpoint
353353
src: /tmp/myfs2.img
354-
fstype: xfs
354+
fstype: ext2
355355
state: mounted
356356
umask: 0777
357357
- name: Unmount FS to access underlying directory
@@ -373,7 +373,7 @@
373373
mount:
374374
path: /tmp/myfs2_mountpoint
375375
src: /tmp/myfs2.img
376-
fstype: xfs
376+
fstype: ext2
377377
state: mounted
378378
umask: "0777"
379379
- name: Unmount FS to access underlying directory
@@ -395,7 +395,7 @@
395395
mount:
396396
path: /tmp/myfs2_mountpoint
397397
src: /tmp/myfs2.img
398-
fstype: xfs
398+
fstype: ext2
399399
state: mounted
400400
umask: "u+rw,g-wx,o-rwx"
401401
- name: Unmount FS to access underlying directory
@@ -417,7 +417,7 @@
417417
mount:
418418
path: /tmp/myfs2_mountpoint
419419
src: /tmp/myfs2.img
420-
fstype: xfs
420+
fstype: ext2
421421
state: mounted
422422
umask: "u=rw,g=r,o=r"
423423
- name: Unmount FS to access underlying directory

0 commit comments

Comments
 (0)