State to synchronize files and directories with rsync.
New in version 2016.3.0.
/opt/user-backups: rsync.synchronized: - source: /home - force: True
synchronized(name, source, delete=False, force=False, update=False, passwordfile=None, exclude=None, excludefrom=None, prepare=False, dryrun=False)¶
Guarantees that the source directory is always copied to the target.
Perform a trial run with no changes made. Is the same as doing test=True
New in version 2016.3.1.