1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2025-01-18 08:06:16 +01:00
infrastructure/playbooks/tasks/include/post-upgrade/borg-clients.yml
Evangelos Foutras 66224e0d08
tasks/upgrade-servers: host-specific post-upgrades
The Ansible output is too noisy with all the skipped tasks; avoid this
by moving host-speicific tasks into their own files that get included.
2022-09-20 15:03:10 +03:00

8 lines
184 B
YAML

- name: Check if /backup exists
stat: path=/backup
register: backup_mountdir
- name: Abort reboot when borg backup is running
meta: end_host
when: backup_mountdir.stat.exists