1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

add pause to make test more stable (#51680)

This commit is contained in:
Jordan Borean 2019-02-04 11:42:40 +10:00 committed by GitHub
parent 2119fedf4d
commit ebc9e4caf7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -498,6 +498,9 @@
stat: path=/tmp/write_utime stat: path=/tmp/write_utime
register: previous_time register: previous_time
- name: pause for 1 second to ensure the next touch is newer
pause: seconds=1
- name: touch file as nobody - name: touch file as nobody
file: dest=/tmp/write_utime state=touch file: dest=/tmp/write_utime state=touch
become: True become: True