mirror of
https://github.com/fscotto/infra.git
synced 2026-05-30 23:49:56 +00:00
Enable new Archlinux profile for nymph
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
changed_when: true
|
||||
when:
|
||||
- not ansible_check_mode
|
||||
- "'void' in group_names"
|
||||
- desktop_restart_emptty_automatically | default(false)
|
||||
|
||||
- name: Report manual emptty restart requirement
|
||||
@@ -16,10 +17,22 @@
|
||||
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
|
||||
- name: Reload SSH service with runit
|
||||
listen: Reload SSH service
|
||||
ansible.builtin.command: sv reload sshd
|
||||
changed_when: true
|
||||
when: not ansible_check_mode
|
||||
when:
|
||||
- not ansible_check_mode
|
||||
- "'void' in group_names"
|
||||
|
||||
- name: Reload SSH service with systemd
|
||||
listen: Reload SSH service
|
||||
ansible.builtin.systemd:
|
||||
name: "{{ desktop_ssh_service_name | default('sshd') }}"
|
||||
state: reloaded
|
||||
when:
|
||||
- not ansible_check_mode
|
||||
- "'arch' in group_names"
|
||||
|
||||
Reference in New Issue
Block a user