Commit 24241af1 authored by Jelle van der Waa's avatar Jelle van der Waa 🚧
Browse files

Merge branch 'prevent-svntogit-starting-before-reboot' into 'master'

tasks: stop arch-svntogit.timer before rebooting

See merge request !520
parents 201b1c24 b6972fda
Pipeline #14433 passed with stage
in 51 seconds
......@@ -39,11 +39,6 @@
- name: gemini pre-reboot checks
block:
- name: wait for svntogit to finish
wait_for:
path: /srv/svntogit/update-repos.sh.lock
state: absent
- name: list logged on users
command: who
register: who
......@@ -53,6 +48,14 @@
when:
- who is changed
- who.stdout_lines|length > 1
- name: stop arch-svntogit.timer
service: name=arch-svntogit.timer state=stopped
- name: wait for svntogit to finish
wait_for:
path: /srv/svntogit/update-repos.sh.lock
state: absent
when: inventory_hostname == "gemini.archlinux.org"
- name: reboot
......
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