mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2025-01-18 08:06:16 +01:00
This drops all svn specific functionality and switches to dbscripts git version. Drops the community repository as it's merged into extra.
10 lines
183 B
YAML
10 lines
183 B
YAML
- name: List logged on users
|
|
command: who
|
|
register: who
|
|
|
|
- name: Abort reboot with logged on users
|
|
meta: end_host
|
|
when:
|
|
- who is changed
|
|
- who.stdout_lines|length > 1
|