mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-01-11 23:25:28 +01:00
Add umask option for mount module
This commit is contained in:
parent
f765706b85
commit
58452777b4
1 changed files with 0 additions and 1 deletions
|
|
@ -811,7 +811,6 @@ def main():
|
|||
except ValueError as e:
|
||||
module.fail_json(msg="umask must be an octal integer: %s" % (to_native(e)))
|
||||
old_umask = os.umask(umask)
|
||||
os.umask(umask)
|
||||
|
||||
try:
|
||||
# Something like mkdir -p but with the possibility to undo.
|
||||
|
|
|
|||
Loading…
Reference in a new issue