mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-01-12 07:35:31 +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:
|
except ValueError as e:
|
||||||
module.fail_json(msg="umask must be an octal integer: %s" % (to_native(e)))
|
module.fail_json(msg="umask must be an octal integer: %s" % (to_native(e)))
|
||||||
old_umask = os.umask(umask)
|
old_umask = os.umask(umask)
|
||||||
os.umask(umask)
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
# Something like mkdir -p but with the possibility to undo.
|
# Something like mkdir -p but with the possibility to undo.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue