Skip to content
Snippets Groups Projects
Commit 14f2a83a authored by Jelle van der Waa's avatar Jelle van der Waa :construction:
Browse files

Merge branch 'borg_backup_upgrade_cancel' into 'master'

tasks: skip reboot when borg-backup{,-offsite} is running

See merge request archlinux/infrastructure!518
parents 9e7441ef 3d079f79
No related branches found
No related tags found
1 merge request!518tasks: skip reboot when borg-backup{,-offsite} is running
Pipeline #14280 passed
......@@ -24,6 +24,19 @@
when: pgrep is succeeded
when: "'buildservers' in group_names"
- name: check for active borg backup jobs
block:
- name: get service facts
service_facts:
- name: abort reboot when borg backup is running
meta: end_host
when: >
ansible_facts.services["borg-backup.service"]["state"] == "running" or
ansible_facts.services["borg-backup-offsite.service"]["state"] == "running"
when: "'borg_clients' in group_names"
- name: gemini pre-reboot checks
block:
- name: wait for svntogit to finish
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment