mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2026-09-11 16:30:32 +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.
9 lines
225 B
YAML
9 lines
225 B
YAML
- name: List build-related processes
|
|
command: pgrep -x 'mkarchroot|makechrootpkg|systemd-nspawn'
|
|
register: pgrep
|
|
ignore_errors: true
|
|
|
|
- name: Abort reboot with running builds
|
|
meta: end_host
|
|
when: pgrep is succeeded
|