mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2026-09-19 09:38:57 +02:00
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.
8 lines
184 B
YAML
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
|