Do not copy file if running on check mode

reviewable/pr18780/r1
Keisuke Kamada 9 years ago
parent 1c41b6fdb2
commit 74864c2d85

@ -301,6 +301,7 @@ def main():
backup_file = None
if checksum_src != checksum_dest or os.path.islink(dest):
if not module.check_mode:
try:
if backup:
if os.path.exists(dest):

Loading…
Cancel
Save