Verified Commit 3d079f79 authored by Jelle van der Waa's avatar Jelle van der Waa 🚧
Browse files

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

parent 9e7441ef
Pipeline #14270 passed with stage
in 36 seconds
......@@ -24,6 +24,19 @@
when: pgrep is succeeded
when: "'buildservers' in group_names"
- name: check for active borg backup jobs
- name: get service facts
- name: abort reboot when borg backup is running
meta: end_host
when: >["borg-backup.service"]["state"] == "running" or["borg-backup-offsite.service"]["state"] == "running"
when: "'borg_clients' in group_names"
- name: gemini pre-reboot checks
- name: wait for svntogit to finish
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment