Add pause to avoid same mtime in test.

This commit is contained in:
Matt Clay 2020-09-02 15:08:04 -07:00
parent db98433e7a
commit 3d769f3a76

View file

@ -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'