Debian Codegraph @

test/integration/targets/playbook/timeout.yml

raw
1 - hosts: localhost
2 gather_facts: false
3 tasks:
4 - shell: sleep 100
5 timeout: 1
6 ignore_errors: true
7 register: time
8
9 - assert:
10 that:
11 - time is failed
12 - time.msg is contains 'Timed out after'
13 - '"timedout" in time'