Do not reboot
Some checks are pending
Ansible Deploy / deploy (push) Has started running

This commit is contained in:
2023-11-24 09:37:24 +02:00
parent 55e447f589
commit bcad6456ce

View File

@@ -13,13 +13,7 @@
state: latest
update_cache: yes
only_upgrade: yes
register: apt_update_status
- name: Remove packages not needed anymore
ansible.builtin.apt:
autoremove: yes
- name: Reboot when packages were updated
ansible.builtin.reboot:
post_reboot_delay: 60
when: apt_update_status.changed