超级玩家
 
- 贡献度
- 0
- 金元
- 7140
- 积分
- 714
- 精华
- 0
- 注册时间
- 2011-7-28
|
unsafe_writes: # Influence when to use atomic operation to prevent data corruption or inconsistent reads from the target file.
By default this module uses atomic operations to prevent data corruption or
inconsistent reads from the target files, but sometimes systems are configured
or just broken in ways that prevent this. One example is docker mounted files,
which cannot be updated atomically from inside the container and can only be
written in an unsafe manner. This option allows Ansible to fall back to unsafe
methods of updating files when atomic operations fail (however, it doesn't
force Ansible to perform unsafe writes). IMPORTANT! Unsafe writes are subject
to race conditions and can lead to data corruption.
|
|