Skip to content
Snippets Groups Projects
Commit 24241af1 authored by Jelle van der Waa's avatar Jelle van der Waa :construction:
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
No related branches found
No related tags found
1 merge request!520tasks: stop arch-svntogit.timer before rebooting
Pipeline #14433 passed
......@@ -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
......
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