Rsync state.
2016.3.0 新版功能.
salt.states.rsync.
synchronized
(name, source, delete=False, force=False, update=False, passwordfile=None, exclude=None, excludefrom=None, prepare=False)¶Guarantees that the source directory is always copied to the target.
参数: |
|
---|---|
返回: |
/opt/user-backups:
rsync.synchronized:
- source: /home
- force: True