Skip to content

Commit

Permalink
Convert MergerFS umask to inventory var
Browse files Browse the repository at this point in the history
  • Loading branch information
owine committed Jan 4, 2024
1 parent f605bf9 commit 41c1012
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion roles/unionfs/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,14 @@ mergerfs_mount_policy_action: "epall"
mergerfs_mount_policy_create: "ff"
mergerfs_mount_policy_search: "ff"

mergerfs_mount_umask: "002"

mergerfs_mount_start_command: |-
/usr/bin/mergerfs \
-o category.create={{ mergerfs_mount_policy_create }},async_read=true,cache.files=partial \
-o category.action={{ mergerfs_mount_policy_action }},category.search={{ mergerfs_mount_policy_search }} \
-o dropcacheonclose=true,minfreespace=0,fsname=mergerfs \
-o xattr=nosys,statfs=base,statfs_ignore=nc,umask=002,noatime \
-o xattr=nosys,statfs=base,statfs_ignore=nc,umask={{ mergerfs_mount_umask }},noatime \
-o func.readdir={{ mergerfs_mount_readdir_policy }} \
{{ mergerfs_mount_branches }} /mnt/unionfs
Expand Down

0 comments on commit 41c1012

Please sign in to comment.