Merge "Add OS version to check reboot happened" into stable/victoria
This commit is contained in:
commit
56f03d66ef
@ -255,8 +255,9 @@ outputs:
|
||||
- name: reboot to perform the upgrade
|
||||
reboot:
|
||||
reboot_timeout: "{{upgrade_leapp_reboot_timeout}}"
|
||||
# TODO(holser): ansible 2.10 and higher provides boot_time_command to detect boot_id before and after reboot.
|
||||
test_command: >-
|
||||
systemctl is-system-running | grep -e running -e degraded
|
||||
source /etc/os-release; [ "${VERSION_ID%.*}" -ge "8" ] && systemctl is-system-running | grep -qE "running|degraded" || exit 1
|
||||
post_reboot_delay: "{{ upgrade_leapp_post_reboot_delay }}"
|
||||
|
||||
- name: Package and repo update tasks
|
||||
|
Loading…
Reference in New Issue
Block a user