mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-06 10:43:14 +00:00
add pause to make test more stable (#51680)
This commit is contained in:
@@ -498,6 +498,9 @@
|
||||
stat: path=/tmp/write_utime
|
||||
register: previous_time
|
||||
|
||||
- name: pause for 1 second to ensure the next touch is newer
|
||||
pause: seconds=1
|
||||
|
||||
- name: touch file as nobody
|
||||
file: dest=/tmp/write_utime state=touch
|
||||
become: True
|
||||
|
||||
Reference in New Issue
Block a user