mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-25 06:10:22 -07:00
unsafe writes! (#4314)
* unsafe writes! * moved unsafe_write docs and args to file common * added unsafe_writes option handling
This commit is contained in:
parent
a5695c8b24
commit
81e87cefd7
4 changed files with 7 additions and 8 deletions
|
@ -233,7 +233,7 @@ def main():
|
|||
if backup and dest_hash is not None:
|
||||
result['backup_file'] = module.backup_local(dest)
|
||||
|
||||
module.atomic_move(path, dest)
|
||||
module.atomic_move(path, dest, unsafe_writes=module.params['unsafe_writes'])
|
||||
changed = True
|
||||
|
||||
cleanup(path, result)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue