[stable-2.10] Add pause to avoid same mtime in test.

(cherry picked from commit 3d769f3a76)

Co-authored-by: Matt Clay <matt@mystile.com>
pull/71612/head
Matt Clay 4 years ago
parent ec8878ced4
commit fd27c4db71

@ -242,6 +242,10 @@
follow: False follow: False
register: file8_initial_dir_stat register: file8_initial_dir_stat
- name: Pause to ensure stat times are not the exact same
pause:
seconds: 1
- name: Use touch with directory as dest - name: Use touch with directory as dest
file: file:
dest: '{{output_dir}}/sub1' dest: '{{output_dir}}/sub1'

Loading…
Cancel
Save