Files
infrastructure/playbooks/tasks/include/post-upgrade/build.archlinux.org.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

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