mirror of
https://github.com/fscotto/infra.git
synced 2026-05-30 15:39:58 +00:00
Drop the Arch-specific systemd SSH reload handler and remove .config/systemd/user from the common dir creation loop (no longer needed without the Arch path). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
30 lines
900 B
YAML
30 lines
900 B
YAML
---
|
|
- name: Restart emptty service
|
|
listen: Restart emptty
|
|
ansible.builtin.command: sv restart emptty
|
|
changed_when: true
|
|
when:
|
|
- not ansible_check_mode
|
|
- "'void' in group_names"
|
|
- desktop_restart_emptty_automatically | default(false)
|
|
|
|
- name: Report manual emptty restart requirement
|
|
listen: Restart emptty
|
|
ansible.builtin.debug:
|
|
msg: >-
|
|
Emptty configuration changed but automatic restart is disabled.
|
|
Restart it manually from SSH or another TTY with `sudo sv restart emptty`
|
|
to avoid dropping the active graphical session.
|
|
when:
|
|
- not ansible_check_mode
|
|
- "'void' in group_names"
|
|
- not (desktop_restart_emptty_automatically | default(false))
|
|
|
|
- name: Reload SSH service with runit
|
|
listen: Reload SSH service
|
|
ansible.builtin.command: sv reload sshd
|
|
changed_when: true
|
|
when:
|
|
- not ansible_check_mode
|
|
- "'void' in group_names"
|