[stable-2.10] Add pause to avoid same mtime in test.
(cherry picked from commit 3d769f3a76
)
Co-authored-by: Matt Clay <matt@mystile.com>
This commit is contained in:
parent
ec8878ced4
commit
fd27c4db71
1 changed files with 4 additions and 0 deletions
|
@ -242,6 +242,10 @@
|
|||
follow: False
|
||||
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
|
||||
file:
|
||||
dest: '{{output_dir}}/sub1'
|
||||
|
|
Loading…
Reference in a new issue