Restore unknown state as not-reboot
This commit is contained in:
parent
cb62d97c1f
commit
db86af7c51
|
@ -58,7 +58,7 @@
|
||||||
- name: check freshness
|
- name: check freshness
|
||||||
command: /usr/sbin/needrestart -p
|
command: /usr/sbin/needrestart -p
|
||||||
register: freshness
|
register: freshness
|
||||||
changed_when: freshness.rc >= 1 and freshness.rc < 4
|
changed_when: freshness.rc >= 1 and freshness.rc < 3
|
||||||
failed_when: false
|
failed_when: false
|
||||||
|
|
||||||
- name: restart system cleanly
|
- name: restart system cleanly
|
||||||
|
|
Loading…
Reference in New Issue