Debian Codegraph @

test/integration/targets/reboot/tasks/test_invalid_test_command.yml

raw
1 - name: Reboot with test command that fails
2 reboot:
3 test_command: 'FAIL'
4 reboot_timeout: "{{ timeout }}"
5 register: reboot_fail_test
6 failed_when: "reboot_fail_test.msg != 'Timed out waiting for post-reboot test command (timeout=' ~ timeout ~ ')'"
7 vars:
8 timeout: 60