1
1
Fork 0
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2024-05-27 07:46:05 +02:00

upgrade-servers: Don't reboot if no upgrades occurred

This commit is contained in:
Evangelos Foutras 2021-07-31 17:36:22 +03:00
parent ad14ad7db8
commit 0bc7a762bf
No known key found for this signature in database
GPG Key ID: 51E8B148A9999C34

View File

@ -9,6 +9,8 @@
pacman:
update_cache: yes
upgrade: yes
register: pacman_upgrade
- name: reboot
reboot:
when: pacman_upgrade is changed