Debian Codegraph @

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

raw
1 - import_tasks: get_boot_time.yml
2 - name: Reboot with default settings
3 reboot:
4 register: reboot_result
5 - import_tasks: check_reboot.yml
6
7
8 - import_tasks: get_boot_time.yml
9 - name: Reboot with all options except reboot_command
10 reboot:
11 connect_timeout: 30
12 search_paths:
13 - /sbin
14 - /bin
15 - /usr/sbin
16 - /usr/bin
17 msg: Rebooting
18 post_reboot_delay: 1
19 pre_reboot_delay: 61
20 test_command: uptime
21 reboot_timeout: 500
22 register: reboot_result
23 - import_tasks: check_reboot.yml
24
25
26 - import_tasks: get_boot_time.yml
27 - name: Test with negative values for delays
28 reboot:
29 post_reboot_delay: -0.5
30 pre_reboot_delay: -61
31 register: reboot_result
32 - import_tasks: check_reboot.yml