mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-10-29 22:03:22 -02:30
Make system_upgrade_reboot: always work for apt (#13656)
Co-authored-by: Mathieu Parent <math.parent@etik.com>
This commit is contained in:
co-authored by
Mathieu Parent
parent
96578b96f9
commit
ca39536402
@@ -17,7 +17,7 @@
|
|||||||
msg: "The system is going down for reboot NOW!"
|
msg: "The system is going down for reboot NOW!"
|
||||||
post_reboot_delay: 30
|
post_reboot_delay: 30
|
||||||
when:
|
when:
|
||||||
- reboot_required.stat.exists
|
- reboot_required.stat.exists or system_upgrade_reboot == 'always'
|
||||||
- system_upgrade_reboot != 'never'
|
- system_upgrade_reboot != 'never'
|
||||||
|
|
||||||
- name: APT Autoclean
|
- name: APT Autoclean
|
||||||
|
|||||||
Reference in New Issue
Block a user